METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . server . processor . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . server . processor . IDENT_2 . METHOD_1 ( ) ; org . IDENT_0 . IDENT_1 . api . model . trace . IDENT_5 consumer = new org . IDENT_0 . IDENT_1 . api . model . trace . METHOD_2 ( ) ; consumer . METHOD_3 ( 1000 ) ; consumer . METHOD_4 ( INT_0 ) ; org . IDENT_0 . IDENT_1 . api . model . trace . IDENT_6 IDENT_7 = new org . IDENT_0 . IDENT_1 . api . model . trace . METHOD_5 ( ) ; IDENT_7 . METHOD_3 ( INT_1 ) ; IDENT_7 . METHOD_4 ( INT_2 ) ; consumer . METHOD_6 ( ) . add ( IDENT_7 ) ; org . IDENT_0 . IDENT_1 . api . model . trace . METHOD_5 IDENT_8 = new org . IDENT_0 . IDENT_1 . api . model . trace . METHOD_5 ( ) ; IDENT_8 . METHOD_3 ( INT_1 ) ; IDENT_8 . METHOD_4 ( INT_3 ) ; consumer . METHOD_6 ( ) . add ( IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . IDENT_0 . IDENT_1 . api . model . trace . Node ) { long IDENT_9 = 0 ; if ( n . METHOD_8 ( ) ) { long IDENT_10 = ( n . METHOD_9 ( ) ) + ( n . METHOD_10 ( ) ) ; long IDENT_11 = n . METHOD_9 ( ) ; for ( int i = 0 ; i < ( ( ( org . IDENT_0 . IDENT_1 . api . model . trace . IDENT_12 ) ( n ) ) . METHOD_6 ( ) . size ( ) ) ; i ++ ) { org . IDENT_0 . IDENT_1 . api . model . trace . Node child = ( ( org . IDENT_0 . IDENT_1 . api . model . trace . IDENT_12 ) ( n ) ) . METHOD_6 ( ) . get ( i ) ; if ( ( child . METHOD_9 ( ) ) < IDENT_10 ) { IDENT_10 = child . METHOD_9 ( ) ; } if ( IDENT_11 < ( ( child . METHOD_9 ( ) ) + ( child . METHOD_10 ( ) ) ) ) { IDENT_11 = ( child . METHOD_9 ( ) ) + ( child . METHOD_10 ( ) ) ; } IDENT_9 += child . METHOD_10 ( ) ; } if ( IDENT_9 > ( n . METHOD_10 ( ) ) ) { IDENT_9 = IDENT_11 - IDENT_10 ; if ( ( IDENT_9 < 0 ) || ( IDENT_9 > ( n . METHOD_10 ( ) ) ) ) { IDENT_9 = 0 ; } } else if ( IDENT_11 > ( ( n . METHOD_9 ( ) ) + ( n . METHOD_10 ( ) ) ) ) { IDENT_9 = 0 ; } } return ( n . METHOD_10 ( ) ) - IDENT_9 ; }
org . junit . Assert . assertEquals ( 200 , IDENT_4 . METHOD_7 ( consumer ) )