METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_1 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_5 ) ; doReturn ( IDENT_0 ) . when ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_2 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_6 ) ; doReturn ( IDENT_0 ) . when ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_3 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_7 ) ; doReturn ( IDENT_0 ) . when ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_4 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_7 ) ; org . IDENT_8 . api . mockito . IDENT_9 . METHOD_1 ( javax . mail . IDENT_10 . class ) . METHOD_2 ( anyString ( ) , anyString ( ) , METHOD_3 ( ) , anyString ( ) , anyString ( ) , anyString ( ) ) . thenReturn ( IDENT_11 ) ; org . IDENT_8 . api . mockito . IDENT_9 . METHOD_4 ( javax . mail . IDENT_12 . class ) ; org . IDENT_8 . api . mockito . IDENT_9 . doReturn ( IDENT_13 ) . when ( javax . mail . IDENT_12 . class , STRING_5 , org . mockito . Matchers . < java . util . Properties > any ( ) , org . mockito . Matchers . < javax . mail . IDENT_14 > any ( ) ) ; doReturn ( IDENT_15 ) . when ( IDENT_13 ) . METHOD_5 ( IDENT_11 ) ; METHOD_6 ( ) ; IDENT_16 . METHOD_7 ( IDENT_17 ) ; javax . mail . IDENT_18 store = IDENT_16 . METHOD_8 ( IDENT_1 , IDENT_19 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_1 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_5 ) ; verify ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_2 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_6 ) ; verify ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_3 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_7 ) ; verify ( IDENT_1 ) . setProperty ( ( ( STRING_0 + ( io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_4 ) ) + STRING_4 ) , io . IDENT_2 . content . mail . services . IDENT_3 . IDENT_7 ) ; org . IDENT_8 . api . mockito . IDENT_9 . METHOD_9 ( javax . mail . IDENT_10 . class ) . METHOD_2 ( anyString ( ) , anyString ( ) , METHOD_3 ( ) , anyString ( ) , anyString ( ) , anyString ( ) ) ; org . IDENT_8 . api . mockito . IDENT_9 . METHOD_10 ( ) ; javax . mail . IDENT_12 . getInstance ( org . mockito . Matchers . < java . util . Properties > any ( ) , org . mockito . Matchers . < javax . mail . IDENT_14 > any ( ) ) ; verify ( IDENT_13 ) . METHOD_5 ( IDENT_11 ) ; } METHOD_8 ( io . IDENT_2 . content . mail . services . Properties , io . IDENT_2 . content . mail . services . IDENT_14 ) { props . setProperty ( ( ( STRING_0 + ( protocol ) ) + STRING_1 ) , io . IDENT_2 . content . mail . services . IDENT_20 . IDENT_5 ) ; props . setProperty ( ( ( STRING_0 + ( protocol ) ) + STRING_2 ) , io . IDENT_2 . content . mail . services . IDENT_20 . IDENT_6 ) ; props . setProperty ( ( ( STRING_0 + ( protocol ) ) + STRING_3 ) , port ) ; props . setProperty ( ( ( STRING_0 + ( protocol ) ) + STRING_4 ) , port ) ; io . IDENT_2 . content . mail . services . IDENT_10 url = new io . IDENT_2 . content . mail . services . METHOD_11 ( protocol , host , java . lang . Integer . METHOD_12 ( port ) , "" , IDENT_21 , IDENT_22 ) ; io . IDENT_2 . content . mail . services . IDENT_12 session = io . IDENT_2 . content . mail . services . IDENT_12 . getInstance ( props , auth ) ; return session . METHOD_5 ( url ) ; }
org . junit . Assert . assertEquals ( IDENT_15 , store )