METHOD_0 ( ) { net . IDENT_0 . core . business . configuration . IDENT_1 IDENT_2 = METHOD_1 ( net . IDENT_0 . core . business . configuration . IDENT_1 . class ) ; net . IDENT_0 . core . business . media . IDENT_3 IDENT_4 = METHOD_1 ( net . IDENT_0 . core . business . media . IDENT_3 . class ) ; net . IDENT_0 . core . business . streaming . IDENT_5 IDENT_6 = METHOD_1 ( net . IDENT_0 . core . business . streaming . IDENT_5 . class ) ; org . IDENT_7 . IDENT_8 . model . IDENT_9 . IDENT_10 IDENT_11 = METHOD_1 ( org . IDENT_7 . IDENT_8 . model . IDENT_9 . IDENT_10 . class ) ; org . IDENT_7 . IDENT_8 . model . message . IDENT_12 connection = METHOD_1 ( org . IDENT_7 . IDENT_8 . model . message . IDENT_12 . class ) ; java . net . IDENT_13 IDENT_14 = METHOD_1 ( java . net . IDENT_13 . class ) ; net . IDENT_0 . core . business . streaming . IDENT_15 . device . IDENT_16 IDENT_17 = METHOD_1 ( net . IDENT_0 . core . business . streaming . IDENT_15 . device . IDENT_16 . class ) ; net . IDENT_0 . core . business . streaming . IDENT_18 . device . IDENT_19 IDENT_20 = METHOD_1 ( net . IDENT_0 . core . business . streaming . IDENT_18 . device . IDENT_19 . class ) ; net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_21 IDENT_22 = new net . IDENT_0 . core . service . IDENT_15 . directory . METHOD_2 ( ) ; IDENT_22 . METHOD_3 ( IDENT_2 ) ; IDENT_22 . METHOD_4 ( IDENT_4 ) ; IDENT_22 . METHOD_5 ( IDENT_6 ) ; expect ( IDENT_11 . METHOD_6 ( ) ) . andReturn ( connection ) ; expect ( IDENT_11 . METHOD_7 ( ) ) . andReturn ( IDENT_14 ) ; expect ( IDENT_14 . METHOD_8 ( ) ) . andReturn ( STRING_0 ) ; expect ( IDENT_6 . METHOD_9 ( eq ( STRING_0 ) ) ) . andReturn ( newArrayList ( IDENT_17 , IDENT_20 ) ) ; expect ( IDENT_17 . METHOD_10 ( ) ) . andReturn ( newArrayList ( STRING_1 ) ) ; expect ( IDENT_4 . METHOD_11 ( eq ( STRING_2 ) ) ) . andReturn ( java . util . Optional . of ( new net . IDENT_0 . core . business . media . model . METHOD_12 ( STRING_2 , STRING_3 , STRING_4 ) ) ) ; java . util . List < net . IDENT_0 . core . business . media . model . IDENT_23 > IDENT_24 = com . google . common . collect . Lists . newArrayList ( new net . IDENT_0 . core . business . media . model . METHOD_12 ( net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_25 . getId ( ) , net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_25 . METHOD_13 ( ) , net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_25 . name ( ) ) ) ; expect ( IDENT_4 . METHOD_14 ( METHOD_15 ( net . IDENT_0 . core . business . media . IDENT_26 . class ) ) ) . andReturn ( IDENT_24 ) ; expect ( IDENT_2 . METHOD_16 ( net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_27 ) ) . andReturn ( false ) ; replay ( IDENT_4 , IDENT_6 , IDENT_11 , connection , IDENT_14 , IDENT_17 , IDENT_20 , IDENT_2 ) ; org . IDENT_7 . IDENT_8 . support . model . IDENT_28 result = IDENT_22 . METHOD_17 ( STRING_2 , IDENT_29 . IDENT_30 , 0 , 100 , IDENT_11 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , IDENT_6 , IDENT_11 , connection , IDENT_14 , IDENT_17 , IDENT_20 , IDENT_2 ) ; } METHOD_17 ( java . lang . String , org . IDENT_7 . IDENT_8 . support . model . IDENT_29 , long , long , org . IDENT_7 . IDENT_8 . model . IDENT_9 . IDENT_10 ) { net . IDENT_0 . core . business . media . model . IDENT_23 IDENT_31 = IDENT_4 . METHOD_11 ( IDENT_32 ) . METHOD_18 ( ( ) -> new < net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_33 > org . IDENT_7 . IDENT_8 . support . IDENT_34 . METHOD_19 ( IDENT_32 ) ) ; net . IDENT_0 . core . service . IDENT_15 . directory . List < java . lang . String > IDENT_35 = METHOD_20 ( IDENT_11 ) ; net . IDENT_0 . core . service . IDENT_15 . directory . IDENT_36 result ; if ( ( IDENT_37 ) == IDENT_38 ) { result = new net . IDENT_0 . core . service . IDENT_15 . directory . METHOD_21 ( IDENT_39 , IDENT_40 ) ; net . IDENT_0 . core . service . IDENT_15 . directory . Collection < net . IDENT_0 . core . business . media . model . IDENT_23 > IDENT_41 = IDENT_4 . METHOD_14 ( new net . IDENT_0 . core . business . media . METHOD_22 ( IDENT_31 , IDENT_35 ) ) ; for ( net . IDENT_0 . core . business . media . model . IDENT_23 IDENT_42 : IDENT_41 ) { METHOD_23 ( IDENT_32 , IDENT_42 , result , IDENT_35 ) ; } } else if ( ( IDENT_30 ) == IDENT_38 ) { result = new net . IDENT_0 . core . service . IDENT_15 . directory . METHOD_21 ( 0 , 1 ) ; METHOD_23 ( IDENT_31 . METHOD_13 ( ) , IDENT_31 , result , IDENT_35 ) ; } else { result = new net . IDENT_0 . core . service . IDENT_15 . directory . METHOD_21 ( 0 , 1 ) ; } return result . METHOD_24 ( new org . IDENT_7 . IDENT_8 . support . IDENT_34 . METHOD_25 ( ) ) ; }
org . junit . Assert . assertNotNull ( result )