seed(); //$this-> } /** * @param $class * * @return m\MockInterface */ public function mock($class) { $mock = Mockery::mock($class); $this->app->instance($class, $mock); return $mock; } static public function setupBeforeClass() { League\FactoryMuffin\Facade::loadFactories(__DIR__ . '/factories'); } public function tearDown() { m::close(); } }