/** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); // TODO Auto-generated ServiceRegistryTest::setUp() $this->ServiceRegistry = new Janus_Client(); $this->ServiceRegistry->setRestClient(new EngineBlock_Test_RestClientMock()); }