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 ) ; net . IDENT_0 . core . service . IDENT_12 . directory . IDENT_13 IDENT_14 = new net . IDENT_0 . core . service . IDENT_12 . directory . METHOD_2 ( ) ; IDENT_14 . METHOD_3 ( IDENT_2 ) ; IDENT_14 . METHOD_4 ( IDENT_4 ) ; IDENT_14 . METHOD_5 ( IDENT_6 ) ; expect ( IDENT_11 . METHOD_6 ( ) ) . andReturn ( null ) ; expect ( IDENT_4 . METHOD_7 ( eq ( STRING_0 ) ) ) . andReturn ( java . util . Optional . of ( new net . IDENT_0 . core . business . media . model . METHOD_8 ( STRING_0 , STRING_1 , STRING_2 ) ) ) ; expect ( IDENT_4 . METHOD_9 ( METHOD_10 ( net . IDENT_0 . core . business . media . model . IDENT_15 . class ) ) ) . andReturn ( STRING_3 ) ; java . util . List < net . IDENT_0 . core . business . media . model . IDENT_16 > IDENT_17 = new java . util . ArrayList ( ) ; java . io . File file = java . io . File . METHOD_11 ( IDENT_18 . METHOD_12 ( ) , STRING_4 ) ; file . METHOD_13 ( ) ; IDENT_17 . add ( new net . IDENT_0 . core . business . media . model . METHOD_14 ( STRING_5 , STRING_6 , "name" , file , net . IDENT_0 . core . business . IDENT_19 . model . IDENT_20 . valueOf ( STRING_7 ) ) ) ; net . IDENT_0 . core . business . media . model . IDENT_16 IDENT_21 = METHOD_1 ( net . IDENT_0 . core . business . media . model . IDENT_15 . class ) ; IDENT_17 . add ( IDENT_21 ) ; expect ( IDENT_4 . METHOD_15 ( METHOD_10 ( net . IDENT_0 . core . business . media . IDENT_22 . class ) ) ) . andReturn ( IDENT_17 ) . METHOD_16 ( ) ; replay ( IDENT_4 , IDENT_6 , IDENT_11 , IDENT_21 , IDENT_2 ) ; org . IDENT_7 . IDENT_8 . support . model . IDENT_23 result = IDENT_14 . METHOD_17 ( STRING_0 , IDENT_24 . IDENT_25 , 0 , 6 , IDENT_11 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , IDENT_6 , IDENT_11 , IDENT_21 , IDENT_2 ) ; } METHOD_17 ( java . lang . String , org . IDENT_7 . IDENT_8 . support . model . IDENT_24 , long , long , org . IDENT_7 . IDENT_8 . model . IDENT_9 . IDENT_10 ) { net . IDENT_0 . core . business . media . model . IDENT_16 IDENT_26 = IDENT_4 . METHOD_7 ( IDENT_27 ) . METHOD_18 ( ( ) -> new < net . IDENT_0 . core . service . IDENT_12 . directory . IDENT_28 > org . IDENT_7 . IDENT_8 . support . IDENT_29 . METHOD_19 ( IDENT_27 ) ) ; net . IDENT_0 . core . service . IDENT_12 . directory . List < java . lang . String > IDENT_30 = METHOD_20 ( IDENT_11 ) ; net . IDENT_0 . core . service . IDENT_12 . directory . IDENT_31 result ; if ( ( IDENT_25 ) == IDENT_32 ) { result = new net . IDENT_0 . core . service . IDENT_12 . directory . METHOD_21 ( IDENT_33 , IDENT_34 ) ; net . IDENT_0 . core . service . IDENT_12 . directory . Collection < net . IDENT_0 . core . business . media . model . IDENT_16 > IDENT_35 = IDENT_4 . METHOD_15 ( new net . IDENT_0 . core . business . media . METHOD_22 ( IDENT_26 , IDENT_30 ) ) ; for ( net . IDENT_0 . core . business . media . model . IDENT_16 IDENT_36 : IDENT_35 ) { METHOD_23 ( IDENT_27 , IDENT_36 , result , IDENT_30 ) ; } } else if ( ( IDENT_37 ) == IDENT_32 ) { result = new net . IDENT_0 . core . service . IDENT_12 . directory . METHOD_21 ( 0 , 1 ) ; METHOD_23 ( IDENT_26 . METHOD_24 ( ) , IDENT_26 , result , IDENT_30 ) ; } else { result = new net . IDENT_0 . core . service . IDENT_12 . directory . METHOD_21 ( 0 , 1 ) ; } return result . METHOD_25 ( new org . IDENT_7 . IDENT_8 . support . IDENT_29 . METHOD_26 ( ) ) ; }
org . junit . Assert . assertNotNull ( result )