// Code generated by ndpgen. DO NOT EDIT. // // This file contains mock implementations for non-WASM builds. // These mocks allow IDE support, compilation, and unit testing on non-WASM platforms. // Plugin authors can use the exported mock instances to set expectations in tests. // //go:build !wasip1 package host import ( "github.com/stretchr/testify/mock" ) // mockStorageService is the mock implementation for testing. type mockStorageService struct { mock.Mock } // StorageMock is the auto-instantiated mock instance for testing. // Use this to set expectations: host.StorageMock.On("MethodName", args...).Return(values...) var StorageMock = &mockStorageService{} // GetStoragePath is the mock method for StorageGetStoragePath. func (m *mockStorageService) GetStoragePath() string { args := m.Called() return args.String(0) } // StorageGetStoragePath delegates to the mock instance. // GetStoragePath retrieves the persistent storage path, if allowed func StorageGetStoragePath() string { return StorageMock.GetStoragePath() }