public function newService($className) { return $this->getInitialContext()->newService($className); }
/** * Test the new service method. * * @return null */ public function testNewService() { $className = 'AppserverIo\\Appserver\\Core\\Api\\Mock\\MockService'; $service = $this->service->newService($className); $this->assertInstanceOf($className, $service); }