/*
OpenAPI Petstore

Testing PetAPIService

*/

// 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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)

func Test_petstore_PetAPIService(t *testing.T) {

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

	t.Run("Test PetAPIService AddPet", func(t *testing.T) {

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

		httpRes, err := apiClient.PetAPI.AddPet(context.Background()).Execute()

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

	})

	t.Run("Test PetAPIService DeletePet", func(t *testing.T) {

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

		var petId int64

		httpRes, err := apiClient.PetAPI.DeletePet(context.Background(), petId).Execute()

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

	})

	t.Run("Test PetAPIService FindPetsByStatus", func(t *testing.T) {

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

		resp, httpRes, err := apiClient.PetAPI.FindPetsByStatus(context.Background()).Execute()

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

	})

	t.Run("Test PetAPIService FindPetsByTags", func(t *testing.T) {

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

		resp, httpRes, err := apiClient.PetAPI.FindPetsByTags(context.Background()).Execute()

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

	})

	t.Run("Test PetAPIService GetPetById", func(t *testing.T) {

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

		var petId int64

		resp, httpRes, err := apiClient.PetAPI.GetPetById(context.Background(), petId).Execute()

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

	})

	t.Run("Test PetAPIService UpdatePet", func(t *testing.T) {

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

		httpRes, err := apiClient.PetAPI.UpdatePet(context.Background()).Execute()

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

	})

	t.Run("Test PetAPIService UpdatePetWithForm", func(t *testing.T) {

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

		var petId int64

		httpRes, err := apiClient.PetAPI.UpdatePetWithForm(context.Background(), petId).Execute()

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

	})

	t.Run("Test PetAPIService UploadFile", func(t *testing.T) {

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

		var petId int64

		resp, httpRes, err := apiClient.PetAPI.UploadFile(context.Background(), petId).Execute()

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

	})

	t.Run("Test PetAPIService UploadFileWithRequiredFile", func(t *testing.T) {

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

		var petId int64

		resp, httpRes, err := apiClient.PetAPI.UploadFileWithRequiredFile(context.Background(), petId).Execute()

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

	})

}
