File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/test/java/org/apache/ibatis/submitted/maptypehandler Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 20
20
import java .util .HashMap ;
21
21
import java .util .Map ;
22
22
23
+ import org .apache .ibatis .exceptions .PersistenceException ;
23
24
import org .apache .ibatis .io .Resources ;
24
25
import org .apache .ibatis .jdbc .ScriptRunner ;
25
26
import org .apache .ibatis .session .SqlSession ;
29
30
import org .junit .BeforeClass ;
30
31
import org .junit .Test ;
31
32
33
+ /**
34
+ * See issue #135
35
+ *
36
+ */
32
37
public class MapTypeHandlerTest {
33
38
34
39
private static SqlSessionFactory sqlSessionFactory ;
@@ -63,7 +68,7 @@ public void shouldGetAUserFromAnnotation() {
63
68
}
64
69
}
65
70
66
- @ Test
71
+ @ Test ( expected = PersistenceException . class )
67
72
public void shouldGetAUserFromXML () {
68
73
SqlSession sqlSession = sqlSessionFactory .openSession ();
69
74
try {
You can’t perform that action at this time.
0 commit comments