@Test
  public void methodsWithDifferentArgumentsAreMatchedCorrectly() throws Exception {
    mds.addSecureMethod(MockService.class, someMethodInteger, ROLE_A);
    mds.addSecureMethod(MockService.class, someMethodString, ROLE_B);

    assertThat(mds.getAttributes(someMethodInteger, MockService.class)).isEqualTo(ROLE_A);
    assertThat(mds.getAttributes(someMethodString, MockService.class)).isEqualTo(ROLE_B);
  }
 @Test
 public void wildcardedMatchIsOverwrittenByMoreSpecificMatch() {
   mds.addSecureMethod(MockService.class, "some*", ROLE_A);
   mds.addSecureMethod(MockService.class, "someMethod*", ROLE_B);
   assertThat(mds.getAttributes(someMethodInteger, MockService.class)).isEqualTo(ROLE_B);
 }