@Test void getSource() { EntityReference from = new EntityReference("from", EntityType.DOCUMENT); EntityReference to = new EntityReference("to", EntityType.DOCUMENT); OverwriteQuestion overwriteQuestion = new OverwriteQuestion(from, to); assertEquals(from, overwriteQuestion.getSource()); }
public EntityReference getSource() { return source; }
OverwriteQuestion { public EntityReference getSource() { return source; } }
OverwriteQuestion { public EntityReference getSource() { return source; } OverwriteQuestion(EntityReference source, EntityReference destination); }
OverwriteQuestion { public EntityReference getSource() { return source; } OverwriteQuestion(EntityReference source, EntityReference destination); EntityReference getSource(); EntityReference getDestination(); boolean isOverwrite(); void setOverwrite(boolean overwrite); boolean isAskAgain(); void setAskAgain(boolean askAgain); }
OverwriteQuestion { public EntityReference getSource() { return source; } OverwriteQuestion(EntityReference source, EntityReference destination); EntityReference getSource(); EntityReference getDestination(); boolean isOverwrite(); void setOverwrite(boolean overwrite); boolean isAskAgain(); void setAskAgain(boolean askAgain);  }