/** * Checks if the resource identifier will be initialized propertly * from a URL with app scope without interface. * * @return void */ public function testPopulateAppScopeWithoutInterface() { // populate the identifier with the data of the passed URL $resourceIdentifier = $this->initialContext->prepareResourceIdentifier(InitialContextTest::IDENTIFIER_APP); // check the data from the resource identifier $this->assertNull($resourceIdentifier->getContextName()); $this->assertSame(InitialContextTest::INDEX_FILE, $resourceIdentifier->getIndexFile()); $this->assertSame(InitialContextTest::CLASS_NAME, $resourceIdentifier->getClassName()); $this->assertSame(EnterpriseBeanResourceIdentifier::LOCAL_INTERFACE, $resourceIdentifier->getInterface()); }