@Test
public void createsFormatFromTrait() {

    TimestampFormatTrait trait = new TimestampFormatTrait("date-time");
    assertThat(trait.getFormat(), equalTo(TimestampFormatTrait.Format.DATE_TIME));
}