@Test
public void testGetRoleObjectWithPending() {

    File fileDir = new File("/home/athenz/zms_store");
    File quotaDir = new File("/home/athenz/zms_quota");
    try (FileConnection fileconnection = new FileConnection(fileDir, quotaDir)) {
        DomainStruct domain = new DomainStruct();
        assertNull(fileconnection.getRoleObject(domain, "role1", false));
    }
}