IssueDoc issue = it.next();
assertThat(issue.key()).isNotEmpty();
assertThat(issue.assignee()).isNotEmpty();
- assertThat(issue.actionPlanKey()).isNotEmpty();
- assertThat(issue.authorLogin()).isNotEmpty();
assertThat(issue.componentUuid()).isNotEmpty();
assertThat(issue.projectUuid()).isNotEmpty();
assertThat(issue.debt().toMinutes()).isGreaterThan(0L);
assertThat(it.hasNext()).isTrue();
- assertThat(it.next()).isNotNull();
+ issue = it.next();
+ assertThat(issue.key()).isNotEmpty();
+ assertThat(issue.assignee()).isNotEmpty();
+ assertThat(issue.componentUuid()).isNotEmpty();
+ assertThat(issue.projectUuid()).isNotEmpty();
+ assertThat(issue.debt().toMinutes()).isGreaterThan(0L);
assertThat(it.hasNext()).isFalse();
}
status="OPEN"
severity="MAJOR"
manual_severity="[false]"
- assignee="[null]"
+ assignee="guy2"
author_login="[null]"
checksum="FFFFF"
effort_to_fix="[null]"
rule_id="200"
reporter="[null]"
issue_attributes="JIRA=http://jira.com"
- action_plan_key="[null]"
+ action_plan_key="PLAN2"
created_at="2005-05-12"
updated_at="2014-05-18"
issue_creation_date="2005-05-12 00:00:00.0"