METHOD_0 ( ) { final com . IDENT_0 . spark . rest . model . IDENT_1 . IDENT_2 parent = new com . IDENT_0 . spark . rest . model . IDENT_1 . METHOD_1 ( ) ; parent . METHOD_2 ( STRING_0 ) ; parent . METHOD_3 ( STRING_1 ) ; final com . IDENT_0 . spark . rest . model . IDENT_1 request = new com . IDENT_0 . spark . rest . model . METHOD_4 ( ) ; request . METHOD_5 ( parent ) ; request . METHOD_2 ( STRING_2 ) ; final com . IDENT_0 . spark . service . IDENT_3 service = new com . IDENT_0 . spark . service . METHOD_6 ( com . IDENT_0 . spark . metadata . IDENT_4 . class , org . mockito . Mockito . mock ( com . IDENT_0 . spark . IDENT_5 . IDENT_6 . class ) , org . mockito . Mockito . mock ( com . IDENT_0 . spark . IDENT_7 . class ) , org . mockito . Mockito . mock ( com . IDENT_0 . spark . service . IDENT_8 . class ) , org . mockito . Mockito . mock ( com . IDENT_0 . spark . service . IDENT_9 . class ) , org . mockito . Mockito . mock ( com . IDENT_0 . IDENT_10 . catalog . api . IDENT_11 . class ) ) ; java . io . InputStream IDENT_12 = getClass ( ) . getResourceAsStream ( STRING_3 ) ; final java . lang . String expected = org . apache . commons . io . IDENT_13 . toString ( IDENT_12 , STRING_4 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( com . IDENT_0 . spark . rest . model . METHOD_4 ) { final java . lang . StringBuilder script = new java . lang . StringBuilder ( ) ; script . append ( STRING_5 ) ; script . append ( IDENT_14 . getName ( ) ) ; script . append ( STRING_6 ) ; script . append ( STRING_7 ) ; script . append ( request . METHOD_8 ( ) ) ; script . append ( STRING_8 ) ; if ( ( request . METHOD_9 ( ) ) != null ) { script . append ( STRING_9 ) ; script . append ( request . METHOD_9 ( ) . METHOD_8 ( ) ) ; script . append ( STRING_8 ) ; script . append ( STRING_10 ) ; script . append ( org . apache . commons . lang3 . IDENT_15 . METHOD_10 ( request . METHOD_9 ( ) . METHOD_11 ( ) ) ) ; script . append ( STRING_11 ) ; } script . append ( STRING_8 ) ; script . append ( STRING_12 ) ; return script . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , service . METHOD_7 ( request ) )