(t *testing.T)
| 189 | } |
| 190 | |
| 191 | func TestExpectCondForeignFour(t *testing.T) { |
| 192 | ctrl := gomock.NewController(t) |
| 193 | defer ctrl.Finish() |
| 194 | |
| 195 | mockIndex := NewMockIndex(ctrl) |
| 196 | mockIndex.EXPECT().ForeignFour(gomock.Cond(func(x imp_four.Imp4) bool { |
| 197 | return x.Field == "Cool" |
| 198 | })) |
| 199 | |
| 200 | mockIndex.ForeignFour(imp_four.Imp4{Field: "Cool"}) |
| 201 | } |
nothing calls this directly
no test coverage detected