AndroidCustomField extends VCardProperty { public static AndroidCustomField item(String type, String value) { AndroidCustomField property = new AndroidCustomField(); property.dir = false; property.type = type; property.values.add(value); return property; }  static AndroidCustomField item(String type, String value); static AndroidCustomField dir(String type, String... values); String getType(); void setType(String type); List<String> getValues(); boolean isDir(); void setDir(boolean dir); boolean isItem(); void setItem(boolean item); boolean isNickname(); boolean isContactEvent(); boolean isRelation();  }
@Test public void item() { AndroidCustomField property = AndroidCustomField.item("type", "value"); assertTrue(property.isItem()); assertFalse(property.isDir()); assertEquals("type", property.getType()); assertEquals(Arrays.asList("value"), property.getValues()); }