METHOD_0 ( ) { when ( com . IDENT_0 . IDENT_1 . resources . IDENT_2 . provider . METHOD_1 ( STRING_0 ) ) . thenReturn ( java . util . Optional . of ( IDENT_3 ) ) ; com . IDENT_0 . IDENT_1 . dto . network . IDENT_4 IDENT_3 = com . IDENT_0 . IDENT_1 . resources . IDENT_2 . IDENT_5 . METHOD_2 ( ) . target ( STRING_1 ) . request ( IDENT_6 . IDENT_7 ) . get ( com . IDENT_0 . IDENT_1 . dto . network . IDENT_4 . class ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { return java . util . Arrays . stream ( IDENT_8 . METHOD_3 ( ) ) . filter ( ( n ) -> n . getName ( ) . equalsIgnoreCase ( id ) ) . map ( METHOD_4 ( ) ) . METHOD_5 ( ) ; }
org . junit . Assert . assertThat ( IDENT_3 , org . hamcrest . core . Is . is ( IDENT_3 ) )