METHOD_0 ( ) { com . sun . mail . test . IDENT_0 server = null ; com . sun . mail . IDENT_1 . IDENT_2 IDENT_3 = null ; try { server = new com . sun . mail . test . METHOD_1 ( new com . sun . mail . IDENT_1 . METHOD_2 ( ) ) ; server . start ( ) ; final java . util . Properties properties = new java . util . Properties ( ) ; properties . setProperty ( STRING_0 , STRING_1 ) ; properties . setProperty ( STRING_2 , ( STRING_1 0 + ( server . METHOD_3 ( ) ) ) ) ; properties . setProperty ( STRING_3 , STRING_4 ) ; final javax . mail . IDENT_4 session = javax . mail . IDENT_4 . getInstance ( properties ) ; java . util . concurrent . IDENT_5 executor = java . util . concurrent . IDENT_6 . METHOD_4 ( ) ; IDENT_3 = new com . sun . mail . IDENT_1 . METHOD_5 ( session , executor ) ; final com . sun . mail . IDENT_1 . IDENT_7 store = ( ( com . sun . mail . IDENT_1 . IDENT_7 ) ( session . METHOD_6 ( STRING_5 ) ) ) ; javax . mail . IDENT_8 IDENT_9 = null ; try { store . connect ( "test" , "test" ) ; IDENT_9 = store . METHOD_7 ( STRING_6 ) ; IDENT_3 . METHOD_8 ( IDENT_9 ) ; org . junit . Assert . fail ( STRING_7 ) ; } catch ( javax . mail . IDENT_10 IDENT_11 ) { "<AssertPlaceHolder>" ; } catch ( java . lang . Exception ex ) { System . out . println ( ( STRING_8 + ex ) ) ; ex . printStackTrace ( ) ; org . junit . Assert . fail ( ex . toString ( ) ) ; } finally { try { IDENT_9 . close ( false ) ; } catch ( java . lang . Exception IDENT_12 ) { } store . close ( ) ; } } catch ( final java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( e . getMessage ( ) ) ; } finally { if ( IDENT_3 != null ) IDENT_3 . METHOD_9 ( ) ; if ( server != null ) { server . METHOD_10 ( ) ; } } } getMessage ( ) { return msg ; }
org . junit . Assert . assertTrue ( IDENT_11 . getMessage ( ) . contains ( STRING_1 1 ) )