summaryrefslogtreecommitdiffstats
path: root/plugin/plugintest/api.go
blob: 2f1db88cf41d03612b9fd2ad13760b1a2c62733d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package plugintest

import (
	"github.com/stretchr/testify/mock"

	"github.com/mattermost/platform/plugin"
)

type API struct {
	mock.Mock
}

var _ plugin.API = (*API)(nil)

func (m *API) LoadPluginConfiguration(dest interface{}) error {
	return m.Called(dest).Error(0)
}