/*
OpenAPI Petstore

Testing StoreApiService

*/

// Code generated by OpenAPI Generator (https://openapi-generator.tech);

package petstore

import (
    "context"
    "github.com/stretchr/testify/assert"
    "github.com/stretchr/testify/require"
    "testing"
    openapiclient "./openapi"
)

func Test_petstore_StoreApiService(t *testing.T) {

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)

    t.Run("Test StoreApiService DeleteOrder", func(t *testing.T) {

        t.Skip("skip test")  // remove to run test

        var orderId string

        resp, httpRes, err := apiClient.StoreApi.DeleteOrder(context.Background(), orderId).Execute()

        require.Nil(t, err)
        require.NotNil(t, resp)
        assert.Equal(t, 200, httpRes.StatusCode)

    })

    t.Run("Test StoreApiService GetInventory", func(t *testing.T) {

        t.Skip("skip test")  // remove to run test

        resp, httpRes, err := apiClient.StoreApi.GetInventory(context.Background()).Execute()

        require.Nil(t, err)
        require.NotNil(t, resp)
        assert.Equal(t, 200, httpRes.StatusCode)

    })

    t.Run("Test StoreApiService GetOrderById", func(t *testing.T) {

        t.Skip("skip test")  // remove to run test

        var orderId int64

        resp, httpRes, err := apiClient.StoreApi.GetOrderById(context.Background(), orderId).Execute()

        require.Nil(t, err)
        require.NotNil(t, resp)
        assert.Equal(t, 200, httpRes.StatusCode)

    })

    t.Run("Test StoreApiService PlaceOrder", func(t *testing.T) {

        t.Skip("skip test")  // remove to run test

        resp, httpRes, err := apiClient.StoreApi.PlaceOrder(context.Background()).Execute()

        require.Nil(t, err)
        require.NotNil(t, resp)
        assert.Equal(t, 200, httpRes.StatusCode)

    })

}
