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