METHOD_0 ( ) { com . graphhopper . jsprit . core . algorithm . IDENT_0 manager = new com . graphhopper . jsprit . core . algorithm . METHOD_1 ( ) ; com . graphhopper . jsprit . core . algorithm . IDENT_1 IDENT_2 = mock ( com . graphhopper . jsprit . core . algorithm . IDENT_1 . class ) ; com . graphhopper . jsprit . core . algorithm . IDENT_1 IDENT_3 = mock ( com . graphhopper . jsprit . core . algorithm . IDENT_1 . class ) ; when ( IDENT_2 . getId ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_3 . getId ( ) ) . thenReturn ( STRING_1 ) ; manager . METHOD_2 ( IDENT_2 , FLOAT_0 ) ; manager . METHOD_2 ( IDENT_3 , FLOAT_1 ) ; java . util . IDENT_4 IDENT_5 = mock ( java . util . IDENT_4 . class ) ; manager . METHOD_3 ( IDENT_5 ) ; METHOD_4 ( IDENT_5 . METHOD_5 ( ) ) . METHOD_6 ( FLOAT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { if ( ( random ) == null ) throw new java . lang . IllegalStateException ( STRING_2 ) ; double IDENT_6 = random . METHOD_5 ( ) ; double IDENT_7 = 0.0 ; for ( int i = 0 ; i < ( IDENT_8 . size ( ) ) ; i ++ ) { IDENT_7 += ( IDENT_8 . get ( i ) ) / ( IDENT_9 ) ; if ( IDENT_6 < IDENT_7 ) { return IDENT_10 . get ( i ) ; } } throw new java . lang . IllegalStateException ( STRING_3 ) ; }
org . junit . Assert . assertThat ( manager . METHOD_7 ( ) , org . hamcrest . CoreMatchers . is ( IDENT_2 ) )