assertInstanceOf('Codeception\CustomCommandInterface', $command); } public function testHasCommandName() { $commandName = MyCustomCommand::getCommandName(); $this->assertEquals('myProject:myCommand', $commandName); } }