@Test
public void customMatchers() throws Exception {

    User user = new User(mockWebService, USER_ID, PASSWORD);
    String expectedMessage = "Test message";
    user.sendMessage(expectedMessage);
    verify(mockWebService).sendMessages(eq(user), listContains(expectedMessage));
    verify(mockWebService).sendMessages(eq(user), listDoesNotContain("other message"));
    verify(mockWebService).sendMessages(eq(user), listOfSize(1));
}