@Test
public void getValueShouldReturnCorrectValue() {

    // Arrange
    final float expected = 10.0f;
    // Act
    final FloatMeasurementElement element = new FloatMeasurementElement(expected);
    final float actual = element.getValue();
    // Assert
    assertThat(actual).isCloseTo(expected, within(0.001f));
}