Наследование: extends Illuminate\Console\Command
Пример #1
0
 public function testThatAServiceCanBeIdentifiedAsAnObject()
 {
     $command = new Command();
     $result = $command->serviceIsObject(3);
     $this->assertFalse($result);
     $result = $command->serviceIsObject(new stdClass());
     $this->assertTrue($result);
 }