AllowedOperation { public void setName(String name) { this.name = name; }  Map<String, Set<String>> getItems(); void setItems(Map<String, Set<String>> items); String getName(); void setName(String name); boolean isOperationAllowedOn(String opItemType, String opItemValue, MatchType matchType); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testSetName() { String name = "AllowedOperationName"; AllowedOperation op = new AllowedOperation(); op.setName(name); String gottenName = op.getName(); assertEquals(gottenName, name); }