### Question:
BootstrappingNodes { public boolean hasBootstrappingNodes() { return !bootstrappingNodes.isEmpty(); } protected  BootstrappingNodes(); String getLastNode(); void setLastNode(final String lastNode); boolean hasLastNode(); Set<String> getBootstrappingNodes(); boolean hasBootstrappingNodes(); void addNode(String node); void removeNode(String node); void clearNodes();  }### Answer:
@Test public void testHasBootstrappingNodes() throws IOException { assertFalse(nodes.hasBootstrappingNodes()); nodes.addNode("localhost"); assertTrue(nodes.hasBootstrappingNodes()); nodes.removeNode("localhost"); assertFalse(nodes.hasBootstrappingNodes()); }