BloomFilter<Long> filter = new FnvBloomFilterLong(2);
Element element = createElement(1, new String[] {"professional", "social", "network"});
indexFilter = filter.computeIndexFilter(element);
queryFilter = filter.computeQueryFilter(new String[]{"professional", "social", "network"});
assertEquals(queryFilter, (queryFilter & indexFilter));
queryFilter = filter.computeQueryFilter(new String[]{"social", "network"});
assertEquals(queryFilter, (queryFilter & indexFilter));