### Question:
ReassignmentRow { public ReassignmentValue toReassignmentValue() { ReassignmentValue value = new ReassignmentValue(); value.setType(getType().getAlias()); value.setDuration(getDuration()); value.setGroups(getGroups()); value.setUsers(getUsers()); return value; } ReassignmentRow();  ReassignmentRow(ReassignmentValue reassignment); ReassignmentType getType(); void setType(ReassignmentType type); String getDuration(); void setDuration(String duration); List<String> getUsers(); void setUsers(List<String> users); List<String> getGroups(); void setGroups(List<String> groups); long getId(); void setId(long id); ReassignmentRow clone(); ReassignmentValue toReassignmentValue(); @Override boolean equals(final Object obj); @Override int hashCode();  }### Answer:
@Test public void testToReassignmentValue() { final ReassignmentValue expectedResult = new ReassignmentValue(); expectedResult.setDuration("0" + Duration.HOUR.getAlias()); expectedResult.setType("NotCompletedReassign"); final ReassignmentValue result = new ReassignmentRow().toReassignmentValue(); assertEquals(expectedResult, result); }