### Question:
DatawaveRoleManager implements RoleManager { public Set<String> getRequiredRoles() { return requiredRoles; } DatawaveRoleManager();  DatawaveRoleManager(Collection<String> requiredRoles); @Override boolean canRunQuery(QueryLogic<?> queryLogic, Principal principal); Set<String> getRequiredRoles(); void setRequiredRoles(Set<String> requiredRoles);  }### Answer:
@Test public void testBasicsLoadedConstructor() { drm = new DatawaveRoleManager(getFirstRole()); Set<String> gottenRoles = drm.getRequiredRoles(); Assert.assertTrue(gottenRoles.contains("REQ_ROLE_1")); Assert.assertFalse(gottenRoles.contains("REQ_ROLE_2")); }