class Timepoint implements Parcelable, Comparable<Timepoint> {

    public boolean isAM() {
        return hour < 12;
    }

}

class TimepointTest {

    @Test
    public void isAMShouldReturnFalseIfTimepointIsAfterMidday() {

        Timepoint timepoint = new Timepoint(13);
        Assert.assertFalse(timepoint.isAM());
    }

}