@Test
public void verifyInteractionParameters() throws Exception {

    User user = new User(mockWebService, USER_ID, PASSWORD);
    user.login(null);
    verify(mockWebService).login(anyInt(), anyString(), any(Response.class));
    verify(mockWebService).login(eq(USER_ID), eq(PASSWORD), any(Response.class));
    verify(mockWebService).login(not(eq(0)), not(eq("12345678")), any(Response.class));
    verify(mockWebService).login(gt(0), startsWith("n1"), any(Response.class));
    verify(mockWebService).login(leq(USER_ID), contains("c3"), isNotNull(Response.class));
    verify(mockWebService).login(and(gt(0), lt(Integer.MAX_VALUE)), matches("n[1-9]{1}c[1-9]{1}[a-z]{3}"), isNotNull(Response.class));
    // See Mockito.Matchers and Mockito.AdditionalMatchers for all matchers
    // http://site.mockito.org/mockito/docs/current/org/mockito/Matchers.html
    // http://site.mockito.org/mockito/docs/current/org/mockito/AdditionalMatchers.html
}