@Test
public void testBasicResolving() {

    final TestOfflinePermissible permissible = new TestOfflinePermissible();
    permissible.setPermission("testperm.test1", true);
    assertTrue(resolver.hasPermission(permissible, "testperm.test1"));
    assertFalse(resolver.hasPermission(permissible, "testperm.somethingelse"));
    assertFalse(resolver.hasPermission(permissible, "testperm.test1.anything"));
    assertFalse(resolver.hasPermission(permissible, "completely.unrelated"));
    permissible.clearPermissions();
}