public function testActionCode() { $expected = 'LOGIN'; $this->assertNull($this->action->getActionCode()); $this->assertSame($this->action, $this->action->setActionCode($expected)); $this->assertEquals($expected, $this->action->getActionCode()); }