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

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

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