METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . metrics . expression . IDENT_2 expr = new com . IDENT_0 . IDENT_1 . metrics . expression . METHOD_1 ( resolver ) ; when ( resolver . apply ( ctx ) ) . thenReturn ( java . util . Optional . of ( com . IDENT_0 . IDENT_1 . metrics . IDENT_3 . valueOf ( STRING_0 ) ) ) ; when ( ctx . METHOD_2 ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_3 ( com . IDENT_0 . IDENT_1 . metrics . IDENT_3 . valueOf ( STRING_0 ) ) ) . thenReturn ( IDENT_5 . IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . IDENT_0 . IDENT_1 . metrics . IDENT_7 . expression . Context ) { throw new java . lang . METHOD_5 ( STRING_1 ) ; }
org . junit . Assert . assertEquals ( IDENT_5 . IDENT_6 , expr . METHOD_4 ( ctx ) )