/** * Tests the static newDescriptorInstance() method. * * @return void */ public function testNewDescriptorInstance() { $this->assertInstanceOf('AppserverIo\\Description\\StatefulSessionBeanDescriptor', StatefulSessionBeanDescriptor::newDescriptorInstance()); }
/** * Test if isRemoveMethod() method returns FALSE as expected. * * @return void */ public function testIsRemoveMethodFals() { $this->descriptor->addRemoveMethod('logout'); $this->assertFalse($this->descriptor->isRemoveMethod('login')); }