METHOD_0 ( ) { org . IDENT_0 . api . mockito . IDENT_1 . METHOD_1 ( java . util . Properties . class ) . METHOD_2 ( ) . thenReturn ( IDENT_2 ) ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_1 ( io . IDENT_3 . content . mail . entities . IDENT_4 . class ) . METHOD_3 ( anyString ( ) , anyString ( ) ) . thenReturn ( IDENT_5 ) ; METHOD_4 ( ) . when ( IDENT_6 ) . METHOD_5 ( METHOD_6 ( ) , anyString ( ) , anyString ( ) , anyString ( ) , anyString ( ) ) ; doReturn ( IDENT_7 ) . when ( IDENT_6 ) . METHOD_7 ( IDENT_2 , IDENT_5 ) ; METHOD_4 ( ) . when ( IDENT_7 ) . connect ( ) ; METHOD_8 ( ) ; IDENT_8 . METHOD_9 ( io . IDENT_3 . content . mail . services . IDENT_9 . IDENT_10 ) ; IDENT_8 . METHOD_10 ( io . IDENT_3 . content . mail . services . IDENT_9 . IDENT_11 ) ; IDENT_6 . METHOD_11 ( IDENT_8 ) ; "<AssertPlaceHolder>" ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_12 ( java . util . Properties . class ) . METHOD_2 ( ) ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_12 ( io . IDENT_3 . content . mail . entities . IDENT_4 . class ) . METHOD_3 ( anyString ( ) , anyString ( ) ) ; verify ( IDENT_6 ) . METHOD_5 ( METHOD_6 ( ) , anyString ( ) , anyString ( ) , anyString ( ) , anyString ( ) ) ; verify ( IDENT_6 ) . METHOD_7 ( IDENT_2 , IDENT_5 ) ; } METHOD_13 ( ) { io . IDENT_3 . content . mail . services . Properties props = new io . IDENT_3 . content . mail . services . Properties ( ) ; if ( ( IDENT_12 ) > 0 ) { props . put ( ( ( STRING_0 + ( protocol ) ) + STRING_1 ) , IDENT_12 ) ; } io . IDENT_3 . content . mail . services . IDENT_13 auth = new io . IDENT_3 . content . mail . entities . METHOD_14 ( IDENT_14 , IDENT_15 ) ; io . IDENT_3 . content . mail . services . IDENT_16 store ; if ( ( IDENT_17 ) || ( IDENT_18 ) ) { METHOD_5 ( IDENT_19 , IDENT_20 , IDENT_21 , IDENT_22 , IDENT_23 ) ; } if ( IDENT_17 ) { store = METHOD_15 ( props , auth ) ; } else if ( IDENT_18 ) { store = METHOD_16 ( props , auth ) ; } else { store = METHOD_17 ( props , auth ) ; store . connect ( ) ; } return store ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_6 . METHOD_13 ( ) )