}
}
@Test
public void testCommandFlags() {
log.info("TEST:PROTOCOL Command sematics - CommandFlags");
Flag flags[] = {TEST, FOO, BAR};
int bitset = Flag.bitset(flags);
for(Flag f : flags)
Assert.assertTrue(Flag.isSet(bitset, f), String.format("%s should have been set!\n", f.name()));
int oldbitset = bitset;