File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/services/framework Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,9 @@ private class MockitoMocker(context: CgContext) : ObjectMocker(context) {
201
201
// Sometimes void methods are called explicitly, e.g. annotated with @Mock fields in Spring test classes.
202
202
// We would like to mark that this field is used and must not be removed from test class.
203
203
// Without `doNothing` call Intellij Idea suggests removing this field as unused.
204
- is MethodId -> mockitoClassId[doNothingMethodId]()[whenStubberMethodId](mockObject)[executable](* matchers)
204
+ is MethodId -> {
205
+ + mockitoClassId[doNothingMethodId]()[whenStubberMethodId](mockObject)[executable](* matchers)
206
+ }
205
207
else -> error(" Only MethodId and ConstructorId was expected to appear in simple mocker but got $executable " )
206
208
}
207
209
} else {
You can’t perform that action at this time.
0 commit comments