/*
 * appNG REST API
 * The REST API for appNG
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: matthias.mueller@appng.org
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.appng.openapi;

import org.appng.openapi.model.Action;
import org.appng.openapi.model.Datasource;
import org.appng.openapi.model.ErrorModel;
import org.appng.openapi.model.Navigation;
import org.appng.openapi.model.PageDefinition;
import org.junit.Test;
import org.junit.Ignore;

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

/**
 * API tests for AppNgApi
 */
@Ignore
public class AppNgApiTest {

    private final AppNgApi api = new AppNgApi();

    
    /**
     * 
     *
     * Returns an action. To be used for initially retrieving the action.
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getActionTest() {
        String site = null;
        String application = null;
        String eventId = null;
        String id = null;
        String params = null;
        Action response = api.getAction(site, application, eventId, id, params);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * Returns a datasource by id
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getDatasourceTest() {
        String site = null;
        String application = null;
        String id = null;
        String params = null;
        Datasource response = api.getDatasource(site, application, id, params);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getNavigationTest() {
        String site = null;
        String application = null;
        Navigation response = api.getNavigation(site, application);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getPageWithUrlParamsTest() {
        String site = null;
        String application = null;
        String id = null;
        String pageUrlParams = null;
        List<String> sect = null;
        PageDefinition response = api.getPageWithUrlParams(site, application, id, pageUrlParams, sect);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * Performs an action.
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void performActionMultiPartTest() {
        String site = null;
        String application = null;
        String eventId = null;
        String id = null;
        String params = null;
        Action response = api.performActionMultiPart(site, application, eventId, id, params);

        // TODO: test validations
    }
    
}
