/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * 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.openapitools.client.api;

import org.openapitools.client.ApiException;
import org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.GetRoleResponse;
import org.openapitools.client.model.PagingAndFiltering;
import org.openapitools.client.model.RoleDto;
import org.openapitools.client.model.RolesDto;
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 RoleApi
 */
@Ignore
public class RoleApiTest {

    private final RoleApi api = new RoleApi();

    
    /**
     *  Remove role.  
     *
     *  Remove role.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETERoleRoleNameProvider1Test() throws ApiException {
        String roleName = null;
        ActionStatus response = api.dELETERoleRoleNameProvider1(roleName);

        // TODO: test validations
    }
    
    /**
     *  Get version of application  
     *
     *  Get version of application  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETIBaseVersion18Test() throws ApiException {
        ActionStatus response = api.gETIBaseVersion18();

        // TODO: test validations
    }
    
    /**
     *  Search role.  
     *
     *  Search role.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETRole1Test() throws ApiException {
        String roleName = null;
        Boolean includeSecuredEntities = null;
        GetRoleResponse response = api.gETRole1(roleName, includeSecuredEntities);

        // TODO: test validations
    }
    
    /**
     *  List external roles. 
     *
     *  List external roles. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETRoleExternal1Test() throws ApiException {
        RolesDto response = api.gETRoleExternal1();

        // TODO: test validations
    }
    
    /**
     *  List roles matching a given criteria.  
     *
     *  List roles matching a given criteria.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETRoleList1Test() throws ApiException {
        String query = null;
        String fields = null;
        Integer offset = null;
        Integer limit = null;
        String sortBy = null;
        String sortOrder = null;
        RolesDto response = api.gETRoleList1(query, fields, offset, limit, sortBy, sortOrder);

        // TODO: test validations
    }
    
    /**
     *  Create role.  
     *
     *  Create role.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTRole1Test() throws ApiException {
        RoleDto roleDto = null;
        ActionStatus response = api.pOSTRole1(roleDto);

        // TODO: test validations
    }
    
    /**
     *  Create or update role.  
     *
     *  Create or update role.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTRoleCreateOrUpdate1Test() throws ApiException {
        RoleDto roleDto = null;
        ActionStatus response = api.pOSTRoleCreateOrUpdate1(roleDto);

        // TODO: test validations
    }
    
    /**
     *  List roles matching a given criteria.  
     *
     *  List roles matching a given criteria.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTRoleList1Test() throws ApiException {
        PagingAndFiltering pagingAndFiltering = null;
        RolesDto response = api.pOSTRoleList1(pagingAndFiltering);

        // TODO: test validations
    }
    
    /**
     *  Update role.  
     *
     *  Update role.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTRole1Test() throws ApiException {
        RoleDto roleDto = null;
        ActionStatus response = api.pUTRole1(roleDto);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void user71Test() throws ApiException {
        ActionStatus response = api.user71();

        // TODO: test validations
    }
    
}
