METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . registry . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = mock ( org . IDENT_0 . IDENT_1 . registry . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; when ( IDENT_5 . getId ( ) ) . thenReturn ( org . IDENT_0 . IDENT_1 . registry . IDENT_2 . IDENT_3 . IDENT_6 ) ; org . IDENT_0 . IDENT_1 . pipeline . IDENT_7 . IDENT_8 task = mock ( org . IDENT_0 . IDENT_1 . pipeline . IDENT_7 . IDENT_8 . class ) ; when ( task . METHOD_1 ( ) ) . thenReturn ( IDENT_5 ) ; when ( trace . METHOD_2 ( ) ) . thenReturn ( task ) ; IDENT_9 . METHOD_3 ( trace ) ; org . IDENT_0 . IDENT_1 . pipeline . IDENT_7 . IDENT_10 result = IDENT_9 . METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . IDENT_0 . IDENT_1 . runtime . IDENT_11 ) { METHOD_5 ( STRING_0 , IDENT_5 ) ; return IDENT_12 . values ( ) . stream ( ) . filter ( ( trace ) -> ( ( trace . METHOD_2 ( ) . METHOD_1 ( ) ) instanceof org . IDENT_0 . IDENT_1 . runtime . IDENT_11 ) && ( IDENT_5 . getId ( ) . equals ( ( ( org . IDENT_0 . IDENT_1 . runtime . IDENT_11 ) ( trace . METHOD_2 ( ) . METHOD_1 ( ) ) ) . getId ( ) ) ) ) . METHOD_6 ( ) . METHOD_7 ( null ) ; }
org . junit . Assert . assertEquals ( trace , result )