@Test
public void testGetProperty() {

    String propValue = null;
    // prop not set
    System.clearProperty("athenz.auth.oauth.jwt.test_prop");
    propValue = OAuthAuthorityUtils.getProperty("test_prop", null);
    assertEquals(propValue, null);
    propValue = OAuthAuthorityUtils.getProperty("test_prop", "");
    assertEquals(propValue, "");
    propValue = OAuthAuthorityUtils.getProperty("test_prop", "default_value");
    assertEquals(propValue, "default_value");
    // prop set
    System.setProperty("athenz.auth.oauth.jwt.test_prop", "test_value");
    propValue = OAuthAuthorityUtils.getProperty("test_prop", null);
    assertEquals(propValue, "test_value");
    propValue = OAuthAuthorityUtils.getProperty("test_prop", "");
    assertEquals(propValue, "test_value");
    propValue = OAuthAuthorityUtils.getProperty("test_prop", "default_value");
    assertEquals(propValue, "test_value");
    System.clearProperty("athenz.auth.oauth.jwt.test_prop");
}