METHOD_0 ( ) { io . IDENT_0 . IDENT_1 context = new io . IDENT_0 . METHOD_1 ( ) ; context . config = new io . IDENT_0 . METHOD_2 ( ) ; context . config . METHOD_3 ( 1 ) ; context . storage = mock ( io . IDENT_0 . storage . IDENT_2 . class ) ; java . util . List < io . IDENT_0 . core . IDENT_3 > IDENT_4 = java . util . Arrays . asList ( new io . IDENT_0 . core . METHOD_4 ( io . IDENT_0 . service . IDENT_5 . IDENT_6 , java . util . Optional . empty ( ) , java . util . Collections . IDENT_7 ) ) ; when ( context . storage . METHOD_5 ( ) ) . thenReturn ( IDENT_4 ) ; java . util . List < io . IDENT_0 . core . IDENT_8 > IDENT_9 = com . google . common . collect . Lists . newArrayList ( ) ; org . joda . time . IDENT_10 IDENT_11 = org . joda . time . IDENT_10 . now ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { java . util . UUID IDENT_12 = com . IDENT_13 . driver . core . utils . IDENT_14 . METHOD_6 ( ) ; org . joda . time . IDENT_10 IDENT_15 = IDENT_11 . METHOD_7 ( i ) . METHOD_8 ( 1 ) ; IDENT_9 . add ( io . IDENT_0 . core . IDENT_8 . builder ( io . IDENT_0 . service . IDENT_5 . IDENT_6 , IDENT_12 ) . METHOD_9 ( METHOD_9 ) . METHOD_10 ( FLOAT_0 ) . METHOD_11 ( 10 ) . METHOD_12 ( IDENT_16 . IDENT_17 ) . METHOD_13 ( METHOD_9 . METHOD_14 ( 1 ) ) . METHOD_15 ( IDENT_18 . IDENT_19 ) . build ( com . IDENT_13 . driver . core . utils . IDENT_14 . METHOD_6 ( ) ) ) ; } when ( context . storage . METHOD_16 ( anyString ( ) , any ( ) ) ) . thenReturn ( IDENT_9 ) ; int IDENT_20 = io . IDENT_0 . service . IDENT_21 . create ( context ) . METHOD_17 ( ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( ) { int IDENT_22 = 0 ; if ( ( ( context . config . METHOD_18 ( ) ) != 0 ) || ( ( context . config . METHOD_19 ( ) ) != 0 ) ) { java . util . Collection < io . IDENT_0 . core . METHOD_4 > IDENT_4 = context . storage . METHOD_5 ( ) ; for ( io . IDENT_0 . core . METHOD_4 cluster : IDENT_4 ) { java . util . Collection < io . IDENT_0 . core . IDENT_8 > IDENT_9 = context . storage . METHOD_16 ( cluster . getName ( ) , java . util . Optional . empty ( ) ) ; if ( ( context . config . METHOD_19 ( ) ) > 0 ) { IDENT_22 += METHOD_20 ( IDENT_9 ) ; } if ( ( context . config . METHOD_18 ( ) ) > 0 ) { IDENT_22 += METHOD_21 ( IDENT_9 ) ; } } } return IDENT_22 ; }
org . junit . Assert . assertEquals ( 0 , IDENT_20 )