java/src/test/java/com/konfigthis/dojah/client/api/KybApiTest.java
/*
 * DOJAH APIs
 * Use Dojah to verify, onboard and manage user identity across Africa!
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by Konfig (https://konfigthis.com).
 * Do not edit the class manually.
 */


package com.konfigthis.dojah.client.api;

import com.konfigthis.dojah.client.ApiException;
import com.konfigthis.dojah.client.ApiClient;
import com.konfigthis.dojah.client.ApiException;
import com.konfigthis.dojah.client.Configuration;
import com.konfigthis.dojah.client.model.GetAdvancedCacResponse;
import com.konfigthis.dojah.client.model.GetBasicCacResponse;
import com.konfigthis.dojah.client.model.GetCacResponse;
import com.konfigthis.dojah.client.model.GetTinResponse;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.BeforeAll;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * API tests for KybApi
 */
@Disabled
public class KybApiTest {

    private static KybApi api;

    
    @BeforeAll
    public static void beforeClass() {
        ApiClient apiClient = Configuration.getDefaultApiClient();
        api = new KybApi(apiClient);
    }

    /**
     * KYC - Get CAC Advanced
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getAdvancedCacTest() throws ApiException {
        Integer rc = null;
        String type = null;
        String propertyClass = null;
        GetAdvancedCacResponse response = api.getAdvancedCac()
                .rc(rc)
                .type(type)
                .propertyClass(propertyClass)
                .execute();
        // TODO: test validations
    }

    /**
     * KYB - Get CAC 2
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getBasicCacTest() throws ApiException {
        Integer rc = null;
        String type = null;
        GetBasicCacResponse response = api.getBasicCac()
                .rc(rc)
                .type(type)
                .execute();
        // TODO: test validations
    }

    /**
     * KYC - Get CAC 
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getCacTest() throws ApiException {
        Integer rcNumber = null;
        String companyName = null;
        GetCacResponse response = api.getCac()
                .rcNumber(rcNumber)
                .companyName(companyName)
                .execute();
        // TODO: test validations
    }

    /**
     * KYC - Fetch Tin
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getTinTest() throws ApiException {
        String tin = null;
        GetTinResponse response = api.getTin()
                .tin(tin)
                .execute();
        // TODO: test validations
    }

}
