@Test public void testKeys() throws Exception { BitSetObjectMap<String> map = new BitSetObjectMap<String>(DEFAULT_VALUE).add(bs(1), "55"); assertThat(map.keys(), arrayContaining(bs(1))); }
@Test public void testKeysEmpty() throws Exception { BitSetObjectMap<String> map = new BitSetObjectMap<String>(DEFAULT_VALUE); assertThat(map.keys().length, equalTo(0)); }