METHOD_0 ( ) { java . lang . String message = STRING_0 ; org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 IDENT_2 = new org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( IDENT_3 ) ; IDENT_2 . METHOD_3 ( message ) ; when ( IDENT_4 . METHOD_4 ( message , IDENT_5 , IDENT_3 , IDENT_6 . toString ( ) ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_8 . METHOD_5 ( IDENT_3 , IDENT_6 . toString ( ) , IDENT_7 , IDENT_9 . getId ( ) ) ) . thenReturn ( IDENT_10 ) ; org . sagebionetworks . repo . model . IDENT_0 . IDENT_11 IDENT_12 = IDENT_13 . METHOD_5 ( IDENT_9 , METHOD_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_14 ) . create ( eq ( IDENT_15 . toString ( ) ) , eq ( IDENT_12 . METHOD_6 ( ) ) , eq ( IDENT_16 . IDENT_17 ) ) ; verify ( IDENT_18 ) . METHOD_7 ( IDENT_6 . toString ( ) , IDENT_19 . IDENT_20 , IDENT_10 . METHOD_8 ( ) , IDENT_21 . IDENT_22 , IDENT_9 . getId ( ) ) ; verify ( IDENT_23 ) . METHOD_9 ( any ( java . util . List . class ) ) ; verify ( IDENT_18 ) . METHOD_7 ( eq ( IDENT_3 ) , eq ( IDENT_19 . IDENT_17 ) , anyString ( ) , eq ( IDENT_21 . IDENT_24 ) , eq ( IDENT_9 . getId ( ) ) ) ; } METHOD_5 ( org . sagebionetworks . repo . model . IDENT_25 , org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ) { org . sagebionetworks . repo . model . IDENT_25 . METHOD_10 ( IDENT_9 ) ; org . sagebionetworks . util . IDENT_26 . METHOD_11 ( METHOD_5 , STRING_1 ) ; java . lang . String IDENT_3 = METHOD_5 . METHOD_6 ( ) ; org . sagebionetworks . util . IDENT_26 . METHOD_11 ( IDENT_3 , STRING_2 ) ; org . sagebionetworks . util . IDENT_26 . METHOD_11 ( METHOD_5 . METHOD_12 ( ) , STRING_3 ) ; if ( IDENT_27 . METHOD_13 ( IDENT_9 ) ) { throw new org . sagebionetworks . repo . model . METHOD_14 ( org . sagebionetworks . repo . manager . IDENT_28 . IDENT_29 ) ; } org . sagebionetworks . repo . model . IDENT_0 . IDENT_30 IDENT_31 = IDENT_32 . METHOD_15 ( IDENT_9 , IDENT_3 ) ; java . lang . String IDENT_6 = IDENT_33 . METHOD_16 ( IDENT_34 . IDENT_35 ) . toString ( ) ; java . lang . String IDENT_7 = IDENT_36 . METHOD_4 ( METHOD_5 . METHOD_12 ( ) , IDENT_31 . METHOD_17 ( ) , IDENT_3 , IDENT_6 ) ; org . sagebionetworks . repo . model . IDENT_0 . IDENT_11 IDENT_12 = IDENT_37 . METHOD_5 ( IDENT_3 , IDENT_6 , IDENT_7 , IDENT_9 . getId ( ) ) ; IDENT_38 . create ( IDENT_9 . getId ( ) . toString ( ) , IDENT_3 , IDENT_16 . IDENT_17 ) ; IDENT_39 . METHOD_7 ( IDENT_6 , IDENT_19 . IDENT_20 , IDENT_12 . METHOD_8 ( ) , IDENT_21 . IDENT_22 , IDENT_9 . getId ( ) ) ; IDENT_40 . METHOD_9 ( org . sagebionetworks . repo . manager . IDENT_0 . IDENT_41 . METHOD_18 ( METHOD_5 . METHOD_12 ( ) , IDENT_3 ) ) ; IDENT_39 . METHOD_7 ( IDENT_3 , IDENT_19 . IDENT_17 , java . util . UUID . METHOD_19 ( ) . toString ( ) , IDENT_21 . IDENT_24 , IDENT_9 . getId ( ) ) ; return IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_10 , IDENT_12 )