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"));
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE