File tree 1 file changed +1
-4
lines changed
src/test/java/org/apache/ibatis/executor/resultset
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2009-2023 the original author or authors.
2
+ * Copyright 2009-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -93,9 +93,6 @@ void shouldNotCallNextOnClosedResultSet_SimpleResult() throws Exception {
93
93
when (rsmd .getColumnLabel (1 )).thenReturn ("id" );
94
94
when (rsmd .getColumnType (1 )).thenReturn (Types .INTEGER );
95
95
when (rsmd .getColumnClassName (1 )).thenReturn (Integer .class .getCanonicalName ());
96
- when (stmt .getConnection ()).thenReturn (conn );
97
- when (conn .getMetaData ()).thenReturn (dbmd );
98
- when (dbmd .supportsMultipleResultSets ()).thenReturn (false ); // for simplicity.
99
96
100
97
final List <Object > results = resultSetHandler .handleResultSets (stmt );
101
98
assertEquals (0 , results .size ());
You can’t perform that action at this time.
0 commit comments