@Test
public void testUnitGetter() {

    final MeasurementUnit unit = MeasurementUnit.KILOMETER;
    Measurement measurement = new Measurement(10, unit);
    assertThat(measurement.getUnit(), is(MeasurementUnit.KILOMETER));
}