METHOD_0 ( ) { org . apache . ambari . server . state . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = METHOD_1 ( STRING_0 ) ; org . apache . ambari . server . controller . IDENT_4 . IDENT_5 metrics = metrics ( FLOAT_0 , FLOAT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . List ) { org . springframework . expression . IDENT_6 . support . IDENT_7 context = new org . springframework . expression . IDENT_6 . support . METHOD_3 ( ) ; context . METHOD_4 ( range ( 0 , metrics . size ( ) ) . METHOD_5 ( ) . collect ( METHOD_6 ( ( i ) -> STRING_1 + i , metrics :: get ) ) ) ; return new org . springframework . expression . IDENT_6 . IDENT_8 . METHOD_7 ( ) . METHOD_8 ( value . replaceAll ( STRING_2 , STRING_3 ) ) . getValue ( context ) ; }
org . junit . Assert . assertThat ( IDENT_3 . METHOD_2 ( metrics ) , org . hamcrest . core . Is . is ( java . util . Optional . of ( FLOAT_1 ) ) )