public function test_seat_should_work()
 {
     $seatData = ["Puesto" => 10, "Disponible" => true];
     $seat = SeatMapFactory::createSeat($seatData);
     $this->assertInstanceOf('\\Ochoa\\Type\\Seat', $seat);
     $this->assertEquals($seatData["Puesto"], $seat->getId());
     $this->assertEquals($seatData["Disponible"], $seat->getAvailable());
 }
 /**
  * @expectedException InvalidArgumentException
  */
 public function test_create_seat_without_the_available_field_should_raise_an_exception()
 {
     $seat = ["_id" => 1234];
     SeatMapFactory::createSeat($seat);
 }