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

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

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