BitmaskMeasurementElement implements MeasurementElement, Serializable { public Byte getValue() { return this.value; } BitmaskMeasurementElement(final Byte value); Byte getValue(); boolean getFlag(final BitmaskFlag flag); Set<BitmaskFlag> asEnumSet(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void getValueShouldReturnCorrectValue() { final Byte expected = 1; final BitmaskMeasurementElement element = new BitmaskMeasurementElement(expected); final Byte actual = element.getValue(); assertThat(actual).isEqualTo(expected); }