use of com.bbva.arq.devops.ae.mirrorgate.core.dto.SprintDTO in project mirrorgate-jira-stories-collector by BBVA.
the class SprintParserTests method itShouldNotFailWhenMissingFields.
@Test
public void itShouldNotFailWhenMissingFields() {
String in = "com.atlassian.greenhopper.service.sprint.Sprint@20d5ab81[id=1003]";
SprintDTO out = issueUtils.parseSprint(in);
assertEquals(out.getId(), "1003");
assertEquals(out.getStatus(), null);
assertEquals(out.getName(), null);
assertEquals(out.getStartDate(), null);
assertEquals(out.getEndDate(), null);
assertEquals(out.getCompleteDate(), null);
}
Aggregations