@Test
public void testConvertToLong() {

    final Set<AmrProfileStatusCodeFlagDto> amrStatusCodeFlags = new HashSet<>();
    amrStatusCodeFlags.add(AmrProfileStatusCodeFlagDto.DATA_NOT_VALID);
    amrStatusCodeFlags.add(AmrProfileStatusCodeFlagDto.POWER_DOWN);
    assertThat((short) this.helperService.toValue(amrStatusCodeFlags)).isEqualTo((short) 132);
}