/*
 * Cloudera Manager API
 * <h1>Cloudera Manager API v50</h1>       <p>Introduced in Cloudera Manager 7.8.1</p>       <p><a href=\"http://www.cloudera.com/documentation.html\">Cloudera Product Documentation</a></p>
 *
 * OpenAPI spec version: 7.8.1
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package com.cloudera.api.swagger;

import com.cloudera.api.swagger.client.ApiException;
import com.cloudera.api.swagger.model.ApiDataContext;
import com.cloudera.api.swagger.model.ApiDataContextList;
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 DataContextsResourceApi
 */
@Ignore
public class DataContextsResourceApiTest {

    private final DataContextsResourceApi api = new DataContextsResourceApi();

    
    /**
     * Create a datacontext.
     *
     * Create a datacontext. Following are are required fields of ApiDataContext: name, displayName, services.
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void createDataContextTest() throws ApiException {
        ApiDataContext body = null;
        ApiDataContext response = api.createDataContext(body);

        // TODO: test validations
    }
    
    /**
     * Delete a datacontext.
     *
     * Delete a datacontext.
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void deleteDataContextTest() throws ApiException {
        String dataContextName = null;
        ApiDataContext response = api.deleteDataContext(dataContextName);

        // TODO: test validations
    }
    
    /**
     * Reads information about a datacontext.
     *
     * Reads information about a datacontext.
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void readDataContextTest() throws ApiException {
        String dataContextName = null;
        ApiDataContext response = api.readDataContext(dataContextName);

        // TODO: test validations
    }
    
    /**
     * Get all the datacontexts.
     *
     * Get all the datacontexts.
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void readDataContextsTest() throws ApiException {
        ApiDataContextList response = api.readDataContexts();

        // TODO: test validations
    }
    
}
