METHOD_0 ( ) { final uk . gov . IDENT_0 . services . core . IDENT_1 . IDENT_2 IDENT_3 = new uk . gov . IDENT_0 . services . core . IDENT_1 . METHOD_1 ( STRING_0 ) ; final java . lang . String IDENT_4 = STRING_1 ; final java . lang . String IDENT_5 = STRING_2 ; final java . util . Optional < uk . gov . IDENT_0 . services . core . mapping . IDENT_6 > IDENT_7 = java . util . Optional . of ( new uk . gov . IDENT_0 . services . core . mapping . METHOD_2 ( STRING_3 ) ) ; final uk . gov . IDENT_0 . services . IDENT_8 . IDENT_9 IDENT_10 = mock ( uk . gov . IDENT_0 . services . IDENT_8 . IDENT_9 . class ) ; final javax . json . IDENT_11 payload = mock ( javax . json . IDENT_11 . class ) ; when ( IDENT_10 . payload ( ) ) . thenReturn ( payload ) ; when ( IDENT_12 . METHOD_3 ( payload ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_10 . METHOD_4 ( ) ) . thenReturn ( STRING_4 ) ; METHOD_5 ( IDENT_3 ) . when ( IDENT_13 ) . validate ( IDENT_5 , IDENT_4 , IDENT_7 ) ; IDENT_14 . validate ( IDENT_10 , IDENT_4 , IDENT_7 ) ; verify ( IDENT_15 ) . METHOD_6 ( IDENT_16 . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; } getValue ( ) { return value ; }
org . junit . Assert . assertThat ( IDENT_16 . getValue ( ) , org . hamcrest . CoreMatchers . is ( IDENT_3 ) )