}
@Test
public void shouldBuildCorrectObject() {
// when
VerificationTimes times = new VerificationTimesDTO(VerificationTimes.once()).buildObject();
// then
assertThat(times.getCount(), is(1));
assertThat(times.isExact(), is(true));
// when
times = new VerificationTimesDTO(VerificationTimes.exactly(3)).buildObject();
// then
assertThat(times.getCount(), is(3));
assertThat(times.isExact(), is(true));
// when
times = new VerificationTimesDTO(VerificationTimes.atLeast(3)).buildObject();
// then
assertThat(times.getCount(), is(3));
assertThat(times.isExact(), is(false));
}