/** * Static fetching of a mock associated with a name or explicit class poser */ public static function fetchMock($name) { return self::$_container->fetchMock($name); }
public function testByDefaultOnAMockDoesSquatWithoutExpectations() { $container = new ehough_mockery_mockery_Container(); $mock = $container->mock('f')->byDefault(); }