@Test
public void testSetAll() {

    Assert.assertEquals("0",
        new LongBitMask().setAll(new LongBitMask()).toString());
    Assert.assertEquals("-1",
        new LongBitMask().setAll(AllSetBitMask.get()).toString());
    Assert.assertEquals("9223372036854775807",
        new LongBitMask().setAll(AllSetButLastBitMask.get()).toString());
    Assert.assertEquals("-1",
        new LongBitMask(1).setAll(AllSetButLastBitMask.get()).toString());
    Assert.assertEquals("0",
        new LongBitMask().setAll(new OpenBitSet()).toString());
    Assert.assertEquals("1",
        new LongBitMask().setAll(EmptyButLastBitMask.get()).toString());
    Assert.assertEquals("0",
        new LongBitMask().setAll(EmptyBitMask.get()).toString());
}