@Test public void testGetValues() throws Exception { List<String> list = new ArrayList<>(); Item item = mock(Item.class); UUID uuid = UUID.randomUUID(); when(item.getID()).thenReturn(uuid); list.add(String.valueOf(uuid)); assertEquals("TestGetValues 0", list, uuidValue.getValues(context, item)); }
@Override public List<String> getValues(Context context, Item item) throws SQLException { List<String> list = new LinkedList<>(); list.add(String.valueOf(item.getID())); return list; }
UUIDValue implements VirtualMetadataConfiguration { @Override public List<String> getValues(Context context, Item item) throws SQLException { List<String> list = new LinkedList<>(); list.add(String.valueOf(item.getID())); return list; } }
UUIDValue implements VirtualMetadataConfiguration { @Override public List<String> getValues(Context context, Item item) throws SQLException { List<String> list = new LinkedList<>(); list.add(String.valueOf(item.getID())); return list; }  }
UUIDValue implements VirtualMetadataConfiguration { @Override public List<String> getValues(Context context, Item item) throws SQLException { List<String> list = new LinkedList<>(); list.add(String.valueOf(item.getID())); return list; }  @Override List<String> getValues(Context context, Item item); @Override void setUseForPlace(boolean useForPlace); @Override boolean getUseForPlace(); @Override void setPopulateWithNameVariant(boolean populateWithNameVariant); @Override boolean getPopulateWithNameVariant(); }
UUIDValue implements VirtualMetadataConfiguration { @Override public List<String> getValues(Context context, Item item) throws SQLException { List<String> list = new LinkedList<>(); list.add(String.valueOf(item.getID())); return list; }  @Override List<String> getValues(Context context, Item item); @Override void setUseForPlace(boolean useForPlace); @Override boolean getUseForPlace(); @Override void setPopulateWithNameVariant(boolean populateWithNameVariant); @Override boolean getPopulateWithNameVariant();  }