METHOD_0 ( ) { javax . mail . Message [ ] IDENT_0 = new javax . mail . Message [ ] { message } ; int result ; when ( properties . getProperty ( STRING_0 ) ) . thenReturn ( STRING_1 ) ; when ( properties . getProperty ( STRING_2 , STRING_3 ) ) . thenReturn ( STRING_4 ) ; when ( IDENT_1 . METHOD_1 ( IDENT_2 . IDENT_3 ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( 1 ) ; when ( IDENT_4 . METHOD_3 ( 1 , 1 ) ) . thenReturn ( IDENT_0 ) ; when ( handler . METHOD_4 ( message ) ) . thenReturn ( true ) ; gov . hhs . fha . nhinc . mail . IDENT_5 IDENT_6 = new gov . hhs . fha . nhinc . mail . METHOD_5 ( properties ) { @ gov . hhs . fha . nhinc . mail . Override javax . mail . IDENT_7 METHOD_6 ( ) { return IDENT_1 ; } @ gov . hhs . fha . nhinc . mail . Override MOD_0 void METHOD_7 ( ) { } } ; result = IDENT_6 . METHOD_8 ( handler ) ; verify ( IDENT_1 , times ( 1 ) ) . connect ( ) ; verify ( IDENT_1 ) . METHOD_1 ( IDENT_2 . IDENT_3 ) ; verify ( IDENT_4 ) . METHOD_9 ( IDENT_8 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } verify ( java . lang . String , javax . net . IDENT_10 . IDENT_11 ) { return IDENT_12 . equalsIgnoreCase ( IDENT_13 . METHOD_10 ( ) ) ; }
org . junit . Assert . assertEquals ( result , 1 )