METHOD_0 ( ) { java . util . Optional < IDENT_0 . Result > IDENT_1 = java . util . Optional . of ( result ) ; org . mockito . Mockito . when ( messages . get ( STRING_0 , context , IDENT_1 ) ) . thenReturn ( java . util . Optional . < java . lang . String > empty ( ) ) ; java . util . List args = new java . util . ArrayList ( ) ; args . add ( new IDENT_2 . template . METHOD_1 ( STRING_0 ) ) ; IDENT_2 . template . IDENT_3 IDENT_4 = IDENT_5 . exec ( args ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_6 ) . METHOD_2 ( org . mockito . Matchers . METHOD_3 ( ) ) ; } exec ( java . util . List ) { if ( ( args . size ( ) ) == 0 ) { throw new IDENT_2 . template . METHOD_4 ( STRING_1 ) ; } if ( ( IDENT_7 ) && ( ( ( args . size ( ) ) == 1 ) || ( ! ( ( ( IDENT_2 . template . IDENT_8 ) ( args . get ( 1 ) ) ) . METHOD_5 ( ) ) ) ) ) { java . lang . String IDENT_9 = ( ( IDENT_2 . template . METHOD_1 ) ( args . get ( 0 ) ) ) . METHOD_6 ( ) ; return new IDENT_2 . template . METHOD_1 ( ( ( IDENT_0 . template . IDENT_10 . IDENT_11 ) + IDENT_9 ) ) ; } else { java . util . List IDENT_12 = new java . util . ArrayList ( ) ; IDENT_12 . add ( IDENT_0 . IDENT_13 . class . getName ( ) ) ; IDENT_12 . add ( STRING_2 ) ; IDENT_12 . add ( STRING_3 ) ; IDENT_12 . addAll ( args ) ; return IDENT_14 . METHOD_7 ( IDENT_12 ) ; } }
org . junit . Assert . assertThat ( ( ( IDENT_2 . template . METHOD_1 ) ( IDENT_4 ) ) . METHOD_6 ( ) , org . hamcrest . CoreMatchers . equalTo ( STRING_0 ) )