コード例 #1
0
ファイル: CommandTest.php プロジェクト: MattKetmo/common
 /**
  * @test
  */
 public function it_can_be_converted_to_array_and_back()
 {
     $commandData = $this->command->toArray();
     $commandCopy = DoSomething::fromArray($commandData);
     $this->assertEquals($commandData, $commandCopy->toArray());
 }