METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_1 ( anyString ( ) ) ) . METHOD_2 ( new java . lang . RuntimeException ( STRING_0 ) ) ; com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 IDENT_6 = new com . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_3 ( ) ; org . springframework . test . util . IDENT_7 . METHOD_4 ( IDENT_6 , STRING_1 , IDENT_3 ) ; com . mongodb . IDENT_8 IDENT_9 = IDENT_6 . METHOD_5 ( "" ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { try { return com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_10 . IDENT_11 . METHOD_6 ( id ) ; } catch ( java . lang . Exception e ) { com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_10 . logger . error ( STRING_2 , e ) ; return null ; } }
org . junit . Assert . assertNull ( IDENT_9 )