METHOD_0 ( ) { ch . IDENT_0 . core . mail . IDENT_1 IDENT_2 = new ch . IDENT_0 . core . mail . METHOD_1 ( ) ; IDENT_2 . setId ( STRING_0 ) ; IDENT_2 . METHOD_2 ( IDENT_3 . IDENT_4 ) ; IDENT_2 . METHOD_3 ( STRING_1 ) ; IDENT_2 . METHOD_4 ( STRING_2 ) ; IDENT_2 . METHOD_5 ( STRING_3 ) ; IDENT_2 . METHOD_6 ( STRING_4 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ch . IDENT_0 . core . mail . METHOD_1 ) { ch . IDENT_0 . core . mail . internal . IDENT_5 properties = new ch . IDENT_0 . core . mail . internal . METHOD_7 ( IDENT_2 ) ; try { if ( ( IDENT_2 . getType ( ) ) == ( ch . IDENT_0 . core . mail . METHOD_1 . IDENT_3 . IDENT_4 ) ) { javax . mail . IDENT_6 session = javax . mail . IDENT_6 . getInstance ( properties . METHOD_8 ( ) , new javax . mail . METHOD_9 ( ) { MOD_0 javax . mail . IDENT_7 METHOD_10 ( ) { return new javax . mail . METHOD_11 ( IDENT_2 . METHOD_12 ( ) , IDENT_2 . METHOD_13 ( ) ) ; } } ) ; javax . mail . IDENT_8 transport = session . METHOD_14 ( ) ; transport . connect ( ) ; transport . close ( ) ; } else if ( ( IDENT_2 . getType ( ) ) == ( ch . IDENT_0 . core . mail . METHOD_1 . IDENT_3 . IDENT_9 ) ) { javax . mail . IDENT_6 session = javax . mail . IDENT_6 . getInstance ( properties . METHOD_8 ( ) , new javax . mail . METHOD_9 ( ) { MOD_0 javax . mail . METHOD_11 METHOD_10 ( ) { return new javax . mail . METHOD_11 ( IDENT_2 . METHOD_12 ( ) , IDENT_2 . METHOD_13 ( ) ) ; } } ) ; javax . mail . IDENT_10 store = session . METHOD_15 ( STRING_5 ) ; store . connect ( ) ; store . close ( ) ; } else { ch . IDENT_0 . core . mail . internal . IDENT_11 . logger . warn ( ( ( STRING_6 + ( IDENT_2 . getType ( ) ) ) + STRING_7 ) ) ; IDENT_12 = IDENT_13 . IDENT_14 ; return false ; } } catch ( javax . mail . IDENT_15 e ) { ch . IDENT_0 . core . mail . internal . IDENT_11 . logger . warn ( ( ( STRING_8 + ( IDENT_2 . getId ( ) ) ) + "]" ) , e ) ; METHOD_16 ( e ) ; return false ; } return true ; }
org . junit . Assert . assertTrue ( client . METHOD_0 ( IDENT_2 ) )