Code example for Set

Methods: containssize

0
	public void testGetKeys() { 
		Statement stmt = new Statement("foo", "bar");
		 
		Set<String> keys = stmt.getKeys();
		 
		assertEquals(keys.size(), 1);
		assertTrue(keys.contains("foo"));
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java