### Question:
SuperSetGraph { public boolean containsSuperset(ColumnCombinationBitset subset) { return graph.containsSubset(subset.invert(numberOfColumns)); } SuperSetGraph(int numberOfColumns); SuperSetGraph add(ColumnCombinationBitset columnCombination); SuperSetGraph addAll(Collection<ColumnCombinationBitset> columnCombinations); ArrayList<ColumnCombinationBitset> getExistingSupersets(ColumnCombinationBitset subset); boolean containsSuperset(ColumnCombinationBitset subset); boolean isEmpty(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testContainsSubset() { SuperSetGraph actualGraph = fixture.getGraph(); assertTrue( actualGraph.containsSuperset(fixture.getExpectedIncludedColumnCombinations().get(0))); assertTrue(actualGraph.containsSuperset(fixture.getColumnCombinationForSupersetQuery())); assertFalse(actualGraph.containsSuperset(new ColumnCombinationBitset(1, 2, 3, 5, 8, 9))); }
@Test public void testContainsSupersetOnEmptyGraph() { SuperSetGraph actualGraph = new SuperSetGraph(fixture.getNumberOfColumns()); assertFalse(actualGraph.containsSuperset(new ColumnCombinationBitset(1, 3))); }