@SuppressWarnings("serial")
@Test
public void testSetItems() {

    AllowedOperation op = new AllowedOperation();
    Set<String> item = new HashSet<String>() {
        {
            add("hoge");
        }
    };
    Map<String, Set<String>> items = new HashMap<String, Set<String>>() {
        {
            put("key", item);
        }
    };
    op.setItems(items);
    Map<String, Set<String>> gottenItems = op.getItems();
    assertEquals(gottenItems, items);
}