/*
 * lakeFS API
 * lakeFS HTTP API
 *
 * The version of the OpenAPI document: 0.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package io.lakefs.clients.api;

import io.lakefs.clients.api.ApiException;
import io.lakefs.clients.api.model.Commit;
import io.lakefs.clients.api.model.CommitCreation;
import io.lakefs.clients.api.model.CommitList;
import io.lakefs.clients.api.model.Error;
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 CommitsApi
 */
@Ignore
public class CommitsApiTest {

    private final CommitsApi api = new CommitsApi();

    
    /**
     * create commit
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void commitTest() throws ApiException {
        String repository = null;
        String branch = null;
        CommitCreation commitCreation = null;
        String sourceMetarange = null;
                Commit response = api.commit(repository, branch, commitCreation, sourceMetarange);
        // TODO: test validations
    }
    
    /**
     * get commit
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getCommitTest() throws ApiException {
        String repository = null;
        String commitId = null;
                Commit response = api.getCommit(repository, commitId);
        // TODO: test validations
    }
    
    /**
     * get commit log from branch. Deprecated: replaced by logCommits by passing branch name as ref 
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void logBranchCommitsTest() throws ApiException {
        String repository = null;
        String branch = null;
        String after = null;
        Integer amount = null;
                CommitList response = api.logBranchCommits(repository, branch, after, amount);
        // TODO: test validations
    }
    
}
