File: sanitization_test.go

package info (click to toggle)
golang-go.uber-mock 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,176 kB
  • sloc: sh: 37; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package sanitization

import (
	"testing"

	"go.uber.org/mock/gomock"
	any0 "go.uber.org/mock/mockgen/internal/tests/sanitization/any"
	"go.uber.org/mock/mockgen/internal/tests/sanitization/mockout"
)

func TestSanitization(t *testing.T) {
	ctrl := gomock.NewController(t)
	m := mockout.NewMockAnyMock(ctrl)
	m.EXPECT().Do(gomock.Any(), 1)
	m.Do(&any0.Any{}, 1)
}