@Test(expected = IllegalStateException.class) public void should_fail_with_no_identifier() { ChangesetById.BY_ID(null, "author"); }
public static Predicate<Changeset> BY_ID(String id, String author) { return new ChangesetById(id, author); }
ChangesetById implements Predicate<Changeset> { public static Predicate<Changeset> BY_ID(String id, String author) { return new ChangesetById(id, author); } }
ChangesetById implements Predicate<Changeset> { public static Predicate<Changeset> BY_ID(String id, String author) { return new ChangesetById(id, author); } private  ChangesetById(String id, String author); }
ChangesetById implements Predicate<Changeset> { public static Predicate<Changeset> BY_ID(String id, String author) { return new ChangesetById(id, author); } private  ChangesetById(String id, String author); static Predicate<Changeset> BY_ID(String id, String author); @Override boolean test(Changeset input); }
ChangesetById implements Predicate<Changeset> { public static Predicate<Changeset> BY_ID(String id, String author) { return new ChangesetById(id, author); } private  ChangesetById(String id, String author); static Predicate<Changeset> BY_ID(String id, String author); @Override boolean test(Changeset input);  }