@Test
public void shouldReturnLocalDateTimeInstanceWhenConvertingLongToLocalDateTime() {

    try {
        Conversions.toLocalDateTime(Long.valueOf(1));
        fail("Should not accept Long values");
    }
    catch (IllegalArgumentException e) {
        // expected
    }
}