Phue\Test\Command\CreateScheduleTest::testCommand PHP Метод

testCommand() публичный Метод

Test: Set command
public testCommand ( )
    public function testCommand()
    {
        $x = new CreateSchedule();
        $command = $x->command($this->mockCommand);
        // Ensure properties are set properly
        $this->assertAttributeEquals($this->mockCommand, 'command', $command);
        // Ensure self object is returned
        $this->assertEquals($command, $command->command($this->mockCommand));
    }