1234567891011121314151617181920212223242526272829303132 |
- <?php
-
- /**
- * Created by PhpStorm.
- * User: robin
- * Date: 9/27/15
- * Time: 5:21 PM
- */
-
- class FakeModel
- {
- public static function where($col, $operator, $value)
- {
- return new FakeModel();
- }
-
- public function first()
- {
- return new FakeModel();
- }
- public function toDbo()
- {
- return new FakeModel();
- }
- }
-
- class TestDataAccess extends \Luticate\Utils\LuDataAccess {
- protected static function getModel()
- {
- return new FakeModel();
- }
- }
|