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

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

Test: Set description
public testDescription ( )
    public function testDescription()
    {
        $x = new CreateSchedule();
        $command = $x->description('Description!');
        // Ensure property is set properly
        $this->assertAttributeContains('Description!', 'attributes', $command);
        // Ensure self object is returned
        $this->assertEquals($command, $command->name('Description!'));
    }