public function testCreateSubdirectory()
{
// create a subdirectory and bind a value
$subdirectory = $this->namingDirectory->createSubdirectory('testname');
$subdirectory->bind('atest', 'testValue');
// check if the subdirectory is available and the value is bound
$this->assertInstanceOf('AppserverIo\\Psr\\Naming\\NamingDirectoryInterface', $subdirectory);
$this->assertSame('testValue', $subdirectory->search('atest'));
}