assertThat(claim.toString(), is(EXPECTED_STRING_REPRESENTATION));
}
public static ClaimBuildAction claimBuildAction(String author, String reason) {
ClaimBuildAction action = mock(ClaimBuildAction.class);
when(action.isClaimed()).thenReturn(true);
when(action.getClaimedByName()).thenReturn(author);
when(action.getReason()).thenReturn(reason);
return action;
}