@Test
public void toJson() {

    LocalDate aDate = LocalDate.of(2014, Month.NOVEMBER, 25);
    String generatedjson = new BookingMessageTO(12L, "abc", aDate, aDate).toJson();
    assertThat(generatedjson, is(equalTo(JSON)));
}