METHOD_0 ( ) { org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 request = new org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ( ) ; request . METHOD_2 ( STRING_0 ) ; request . METHOD_3 ( IDENT_2 . IDENT_3 ) ; request . METHOD_4 ( STRING_1 ) ; java . lang . String IDENT_4 = "name" ; org . sagebionetworks . repo . model . IDENT_5 . IDENT_6 type = org . sagebionetworks . repo . model . IDENT_5 . IDENT_6 . IDENT_7 ; java . lang . Long IDENT_8 = INT_0 ; org . sagebionetworks . repo . model . IDENT_5 . IDENT_9 IDENT_10 = new org . sagebionetworks . repo . model . IDENT_5 . METHOD_5 ( ) ; IDENT_10 . METHOD_6 ( IDENT_4 ) ; IDENT_10 . METHOD_7 ( IDENT_8 ) ; IDENT_10 . METHOD_8 ( type ) ; when ( IDENT_11 . METHOD_9 ( IDENT_4 , type , IDENT_8 ) ) . thenReturn ( IDENT_10 ) ; org . sagebionetworks . repo . manager . IDENT_0 . IDENT_12 IDENT_13 = new org . sagebionetworks . repo . manager . IDENT_0 . METHOD_10 ( IDENT_4 , org . sagebionetworks . repo . model . IDENT_5 . IDENT_6 . IDENT_7 ) ; when ( IDENT_14 . METHOD_11 ( request . METHOD_12 ( ) , request . METHOD_13 ( ) , request . METHOD_14 ( ) ) ) . thenReturn ( IDENT_13 ) ; org . sagebionetworks . repo . model . IDENT_5 . METHOD_5 result = service . METHOD_15 ( IDENT_8 , request ) ; "<AssertPlaceHolder>" ; } METHOD_15 ( java . lang . Long , org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ) { if ( org . sagebionetworks . repo . model . IDENT_15 . METHOD_16 ( IDENT_16 ) ) throw new org . sagebionetworks . repo . model . METHOD_17 ( STRING_2 ) ; org . sagebionetworks . repo . manager . IDENT_0 . METHOD_10 IDENT_17 = IDENT_18 . METHOD_11 ( IDENT_19 . METHOD_12 ( ) , IDENT_19 . METHOD_13 ( ) , IDENT_19 . METHOD_14 ( ) ) ; return IDENT_20 . METHOD_9 ( IDENT_17 . METHOD_18 ( ) , IDENT_17 . getType ( ) , IDENT_16 ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , result )