@Override
  public boolean matches(Issue issue) {
    return issue.resolution() == null;
  }
@Test
  public void should_match() {
    IsUnResolved condition = new IsUnResolved();

    assertThat(condition.matches(issue)).isTrue();

    when(issue.resolution()).thenReturn("FIXED");
    assertThat(condition.matches(issue)).isFalse();
  }