Phue\Test\Command\CreateRuleTest::testAddAction PHP Method

testAddAction() public method

Test: Set name
public testAddAction ( )
    public function testAddAction()
    {
        $action = Mockery::mock('\\Phue\\Command\\ActionableInterface')->makePartial();
        $command = new CreateRule();
        $this->assertEquals($command, $command->addAction($action));
    }