@Test
void testIntValueFromTagList() {

    final String allTags = "tag2,tag4,tag1,tag3";
    final String rolledUpTags = "tag3,tag1";
    final int maskVal = RollUpBitMask.intValueFromTagList(allTags, rolledUpTags);
    final int expectedMaskVal = RollUpBitMask.fromTagPositions(Arrays.asList(0, 2)).asShort();
    assertThat(maskVal).isEqualTo(expectedMaskVal);
}