public function testMockGetInterfacesAndTraits() { FBMock_Config::setConfig(new MockUtilsTestCase_TestConfig()); self::assertEquals(array(array('FBMock_Mock'), array('TestCustomTrait1', 'TestCustomTrait2')), FBMock_Utils::getInterfacesAndTraits()); FBMock_Config::clearConfig(); }
public static function setUpBeforeClass() { // In case these tests are being run somewhere a custom config is defined FBMock_Config::setConfig(new FBMock_Config()); }