@Test
public void testConvertToLowerCaseAssertion() {

    
    Assertion assertion = new Assertion();
    assertion.setAction("Read");
    assertion.setEffect(AssertionEffect.ALLOW);
    assertion.setResource("coreTech:VIP.*");
    assertion.setRole("coretech:role.Role1");
    
    AthenzObject.ASSERTION.convertToLowerCase(assertion);
    assertEquals(assertion.getRole(), "coretech:role.role1");
    assertEquals(assertion.getAction(), "read");
    assertEquals(assertion.getResource(), "coretech:vip.*");
    // Check with case-sensitive flag
    new Assertion();
    assertion.setAction("Read");
    assertion.setEffect(AssertionEffect.ALLOW);
    assertion.setResource("coreTech:VIP.*");
    assertion.setRole("coretech:role.Role1");
    assertion.setCaseSensitive(true);
    AthenzObject.ASSERTION.convertToLowerCase(assertion);
    assertEquals(assertion.getRole(), "coretech:role.role1");
    assertEquals(assertion.getAction(), "Read");
    assertEquals(assertion.getResource(), "coretech:VIP.*");
}