/*
 * Daytona Toolbox API
 * Daytona Toolbox API
 *
 * The version of the OpenAPI document: v0.0.0-dev
 * 
 *
 * 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.daytona.toolbox.client.api;

import io.daytona.toolbox.client.ApiException;
import io.daytona.toolbox.client.model.IsPortInUseResponse;
import io.daytona.toolbox.client.model.PortList;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

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

/**
 * API tests for PortApi
 */
@Disabled
public class PortApiTest {

    private final PortApi api = new PortApi();

    /**
     * Get active ports
     *
     * Get a list of all currently active ports
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void getPortsTest() throws ApiException {
        PortList response = api.getPorts();
        // TODO: test validations
    }

    /**
     * Check if port is in use
     *
     * Check if a specific port is currently in use
     *
     * @throws ApiException if the Api call fails
     */
    @Test
    public void isPortInUseTest() throws ApiException {
        Integer port = null;
        IsPortInUseResponse response = api.isPortInUse(port);
        // TODO: test validations
    }

}
