public function testCanBuildArraySerializer()
 {
     $ars = new ArraySerializerConcrete();
     $data = $ars->loadData(['status' => 'OK', 'timestamp' => Carbon::now()]);
     $this->assertTrue(is_array($data->toArray()));
     $this->assertCount(2, $data->toArray());
     $json = json_encode($data);
     $this->assertTrue(is_string($json));
     $this->assertTrue(is_object(json_decode($json)));
 }
 /**
  * @expectedException \RuntimeException
  */
 public function testCannotCreateBaseSerializer()
 {
     $ars = new ArraySerializerConcrete();
     $ars->create();
 }