@Override
  public boolean matches(Issue issue) {
    return issue.resolution() != null && resolutions.contains(issue.resolution());
  }
@Test
  public void should_match() {
    HasResolution condition = new HasResolution(Issue.RESOLUTION_FIXED, Issue.RESOLUTION_FALSE_POSITIVE);

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

    when(issue.resolution()).thenReturn("FALSE-POSITIVE");
    assertThat(condition.matches(issue)).isTrue();

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