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