@Test
public void checkGetRole(){

    assertEquals(null, DbCredential.getRole("wrongRole"));
    assertEquals(AvailableRoles.ARTIFACT_CHECKER, DbCredential.getRole("artifact_checker"));
    assertEquals(AvailableRoles.DATA_DELETER, DbCredential.getRole("DATA_DELETER"));
    assertEquals(AvailableRoles.DATA_UPDATER, DbCredential.getRole("DATA_updater"));
    assertEquals(AvailableRoles.DEPENDENCY_NOTIFIER, DbCredential.getRole("dependency_NOTIFIER"));
    assertEquals(AvailableRoles.LICENSE_CHECKER, DbCredential.getRole("license_checker"));
    assertEquals(AvailableRoles.LICENSE_SETTER, DbCredential.getRole("license_setter"));
}