@Test
public void testIsMatch_假如存在如上资源信息_当给定包含在资源信息时_那么返回true() {

    AuthenticationService authenticationService = new AuthenticationService();
    Resource resource = new Resource();
    resource.setCode("user_manager:view");
    Set<Resource> resources = Sets.newHashSet(resource);
    Assert.assertTrue(authenticationService.isMatch(new SecurityConfig("user_manager:view"), resources));
}