METHOD_0 ( ) { test = java . util . Optional . of ( new com . IDENT_0 . IDENT_1 . IDENT_2 . api . metadata . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 ) ) ; url = java . util . Optional . of ( new com . IDENT_0 . IDENT_1 . IDENT_2 . api . metadata . METHOD_2 ( STRING_3 , STRING_4 , STRING_5 ) ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_4 ( any ( java . lang . String . class ) ) ) . thenReturn ( test ) ; when ( IDENT_3 . METHOD_5 ( ) ) . thenReturn ( url . get ( ) ) ; java . util . ArrayList < com . IDENT_0 . IDENT_1 . IDENT_2 . api . IDENT_5 . IDENT_6 < com . IDENT_0 . IDENT_1 . IDENT_2 . api . metadata . METHOD_2 > > IDENT_7 = IDENT_8 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return IDENT_7 ; }
org . junit . Assert . assertThat ( IDENT_7 . size ( ) , org . hamcrest . CoreMatchers . is ( 1 ) )