@Test public void testGetDataObject() { when(dataObject.getName()).thenReturn(null); when(dataObject.getId()).thenReturn(ID); testGetName(ID, dataObject); }
public String getName() { return name; }
ItemNameReader { public String getName() { return name; } }
ItemNameReader { public String getName() { return name; } private  ItemNameReader(ItemAwareElement element); }
ItemNameReader { public String getName() { return name; } private  ItemNameReader(ItemAwareElement element); static ItemNameReader from(ItemAwareElement element); String getName(); }
ItemNameReader { public String getName() { return name; } private  ItemNameReader(ItemAwareElement element); static ItemNameReader from(ItemAwareElement element); String getName();  }