public void specifyingNumberOfExpectationsBelowOneThrowsException() {
thrown.expect(ClientDriverInvalidExpectationException.class);
thrown.expectMessage("Expectation cannot be matched less than once");
ClientDriverExpectation expectation = new ClientDriverExpectation(PAIR);
expectation.times(0);
}
@Test
public void matchingExpectationSatisfiesIt() {
ClientDriverExpectation expectation = new ClientDriverExpectation(PAIR);