METHOD_0 ( ) { uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_3 IDENT_1 = mock ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_3 . class ) ; uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_4 < java . io . InputStream > factory = mock ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_4 . class ) ; when ( factory . METHOD_1 ( any ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . resource . IDENT_5 . class ) , any ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_6 . class ) ) ) . thenReturn ( mock ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_7 . class ) ) ; uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_8 IDENT_9 = mock ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_8 . class ) ; com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 IDENT_15 = mock ( com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 . class ) ; uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_6 IDENT_16 = new uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . METHOD_2 ( new java . net . URI ( STRING_0 ) ) ; IDENT_16 . METHOD_3 ( INT_0 ) ; uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_17 . IDENT_18 IDENT_19 = new uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_17 . METHOD_4 ( IDENT_1 , factory , IDENT_9 , IDENT_15 , IDENT_16 ) ; com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 IDENT_21 = mock ( com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 . class ) ; when ( IDENT_21 . getPath ( ) ) . thenReturn ( "" ) ; when ( IDENT_21 . METHOD_5 ( ) ) . thenReturn ( true ) ; com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 IDENT_22 = mock ( com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 . class ) ; when ( IDENT_22 . getName ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_22 . getPath ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_22 . METHOD_5 ( ) ) . thenReturn ( true ) ; com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 IDENT_23 = mock ( com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 . class ) ; when ( IDENT_22 . getName ( ) ) . thenReturn ( STRING_3 ) ; when ( IDENT_22 . getPath ( ) ) . thenReturn ( STRING_4 ) ; when ( IDENT_22 . METHOD_5 ( ) ) . thenReturn ( false ) ; java . util . List < com . github . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_20 > IDENT_24 = new java . util . ArrayList ( ) ; IDENT_24 . add ( IDENT_21 ) ; IDENT_24 . add ( IDENT_22 ) ; IDENT_19 . METHOD_6 ( IDENT_24 ) ; verify ( IDENT_9 , times ( 1 ) ) . METHOD_7 ( any ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_25 . class ) , any ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_2 . IDENT_26 . class ) , METHOD_8 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_25 , uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_26 , boolean ) { final java . net . URI uri = result . METHOD_9 ( ) . METHOD_10 ( ) ; uk . gov . IDENT_0 . IDENT_1 . IDENT_27 . IDENT_28 node = new uk . gov . IDENT_0 . IDENT_1 . IDENT_27 . METHOD_11 ( uri ) ; uk . gov . IDENT_0 . IDENT_1 . core . interfaces . resource . IDENT_5 IDENT_29 = result . METHOD_12 ( ) ; uk . gov . IDENT_0 . IDENT_1 . IDENT_27 . IDENT_30 IDENT_31 = new uk . gov . IDENT_0 . IDENT_1 . IDENT_27 . METHOD_13 ( ) ; IDENT_31 . setName ( IDENT_29 . getName ( ) ) ; IDENT_31 . METHOD_14 ( null ) ; IDENT_31 . METHOD_15 ( IDENT_29 . getTime ( ) ) ; IDENT_31 . METHOD_16 ( IDENT_32 . IDENT_33 ) ; IDENT_31 . METHOD_17 ( ( IDENT_34 ? uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_35 . IDENT_36 : uk . gov . IDENT_0 . IDENT_1 . core . interfaces . IDENT_35 . IDENT_37 ) ) ; IDENT_31 . METHOD_18 ( IDENT_38 . IDENT_39 ) ; node . METHOD_19 ( IDENT_31 ) ; node . METHOD_20 ( new java . util . Date ( ) ) ; node . METHOD_21 ( IDENT_40 . IDENT_33 ) ; IDENT_41 . save ( node , IDENT_42 ) ; IDENT_43 . METHOD_22 ( node ) ; return new uk . gov . IDENT_0 . IDENT_1 . core . interfaces . METHOD_23 ( node . getId ( ) , node . METHOD_24 ( ) ) ; }
org . junit . Assert . assertTrue ( true )