File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/domain/builtin Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import org.utbot.framework.codegen.tree.ututils.UtilClassKind.Companion.PACKAGE_
1010import org.utbot.framework.codegen.tree.ututils.UtilClassKind.Companion.UT_UTILS_BASE_PACKAGE_NAME
1111import org.utbot.framework.plugin.api.BuiltinClassId
1212import org.utbot.framework.plugin.api.BuiltinConstructorId
13+ import org.utbot.framework.plugin.api.BuiltinMethodId
1314import org.utbot.framework.plugin.api.ClassId
1415import org.utbot.framework.plugin.api.CodegenLanguage
1516import org.utbot.framework.plugin.api.MethodId
@@ -301,16 +302,17 @@ internal val utKotlinUtilsClassId: ClassId
301302 isKotlinObject = true
302303 )
303304
304- /* *
305- * [MethodId] for [AutoCloseable.close].
306- */
307- val openMocksMethodId = MethodId (
305+ val openMocksMethodId = BuiltinMethodId (
308306 classId = MockitoAnnotations ::class .id,
309307 name = " openMocks" ,
310308 returnType = AutoCloseable ::class .java.id,
311309 parameters = listOf (objectClassId),
310+ isStatic = true ,
312311)
313312
313+ /* *
314+ * [MethodId] for [AutoCloseable.close].
315+ */
314316val closeMethodId = MethodId (
315317 classId = AutoCloseable ::class .java.id,
316318 name = " close" ,
You can’t perform that action at this time.
0 commit comments