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 2020import java .util .HashMap ;
2121import java .util .Map ;
2222
23+ import org .apache .ibatis .exceptions .PersistenceException ;
2324import org .apache .ibatis .io .Resources ;
2425import org .apache .ibatis .jdbc .ScriptRunner ;
2526import org .apache .ibatis .session .SqlSession ;
2930import org .junit .BeforeClass ;
3031import org .junit .Test ;
3132
33+ /**
34+ * See issue #135
35+ *
36+ */
3237public class MapTypeHandlerTest {
3338
3439 private static SqlSessionFactory sqlSessionFactory ;
@@ -63,7 +68,7 @@ public void shouldGetAUserFromAnnotation() {
6368 }
6469 }
6570
66- @ Test
71+ @ Test ( expected = PersistenceException . class )
6772 public void shouldGetAUserFromXML () {
6873 SqlSession sqlSession = sqlSessionFactory .openSession ();
6974 try {
You can’t perform that action at this time.
0 commit comments