@Test
public void test_readOIDCCredFile() throws IOException{

    File oidccredFile = getOIDCCredFile();
    boolean isDelete = true;
    OIDCCred expected = new OIDCCred();
    expected.setClientId("123123");
    expected.setClientName("clientname1");
    expected.setClientSecret("abcd123123");
    expected.setBoundAudiences("defg123123");
    expected.setDiscoveryUrl("https://login.microsoftonline.com/123123/v2.0");
    expected.setAdLoginUrl("https://login.microsoftonline.com/123123/oauth2/token");
    OIDCCred actual = ControllerUtil.readOIDCCredFile(oidccredFile.getParent(), isDelete);
    assertNotNull(actual);
    assertEquals(expected.getClientName(), actual.getClientName());
    assertEquals(expected.getClientId(), actual.getClientId());
    assertEquals(expected.getClientSecret(), actual.getClientSecret());
    assertEquals(expected.getBoundAudiences(), actual.getBoundAudiences());
    assertEquals(expected.getDiscoveryUrl(), actual.getDiscoveryUrl());
    assertEquals(expected.getAdLoginUrl(), actual.getAdLoginUrl());
}