/** * Tests that initialization from an invalid deployment descriptor won't work. * * @return void */ public function testFromConfigurationInvalid() { // initialize the configuration $node = new SessionNode(); $node->initFromFile(__DIR__ . '/_files/dd-statefulsessionbean.xml'); // check that the descriptor has not been initialized $this->assertNull($this->descriptor->fromConfiguration($node)); }