@Test public void simpDestMatchersAnyAuthority() { messages.simpDestMatchers("admin/**", "location/**") .hasAnyAuthority("ROLE_ADMIN", "ROLE_ROOT").anyMessage().denyAll(); assertThat(getAttribute()).isEqualTo("hasAnyAuthority('ROLE_ADMIN','ROLE_ROOT')"); }