METHOD_0 ( ) { org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 IDENT_2 = new org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_2 . METHOD_3 ( IDENT_3 . IDENT_4 ) ; IDENT_2 . METHOD_4 ( IDENT_5 ) ; org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 result = IDENT_6 . METHOD_5 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; IDENT_2 = new org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_2 . METHOD_3 ( IDENT_3 . IDENT_4 ) ; IDENT_2 . METHOD_4 ( IDENT_7 ) ; IDENT_6 . METHOD_5 ( IDENT_2 ) ; } METHOD_5 ( org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ) { if ( dto == null ) throw new java . lang . IllegalArgumentException ( STRING_1 ) ; if ( ( dto . METHOD_6 ( ) ) == null ) throw new java . lang . IllegalArgumentException ( STRING_2 ) ; try { this . IDENT_8 . METHOD_7 ( org . sagebionetworks . repo . model . IDENT_9 . IDENT_0 . IDENT_10 . IDENT_11 , org . sagebionetworks . repo . model . IDENT_9 . IDENT_0 . Long . class , dto . METHOD_8 ( ) ) ; } catch ( org . springframework . dao . IDENT_12 | java . lang . IDENT_13 e ) { throw new org . sagebionetworks . repo . web . METHOD_9 ( ( STRING_3 + ( dto . METHOD_8 ( ) ) ) ) ; } org . sagebionetworks . repo . model . IDENT_9 . IDENT_0 . IDENT_14 IDENT_9 = org . sagebionetworks . repo . model . IDENT_9 . IDENT_0 . IDENT_15 . METHOD_10 ( dto ) ; IDENT_9 . METHOD_11 ( ) . METHOD_12 ( IDENT_9 . METHOD_13 ( ) ) ; org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 IDENT_16 = METHOD_14 ( dto . METHOD_6 ( ) ) ; if ( IDENT_16 != null ) { if ( ! ( IDENT_16 . METHOD_8 ( ) . equals ( IDENT_9 . METHOD_8 ( ) ) ) ) throw new org . sagebionetworks . repo . model . METHOD_15 ( ( ( STRING_4 + ( dto . METHOD_6 ( ) ) ) + STRING_5 ) ) ; if ( ! ( IDENT_16 . getType ( ) . equals ( dto . getType ( ) ) ) ) throw new java . lang . IllegalArgumentException ( ( ( ( ( ( STRING_6 + ( dto . METHOD_6 ( ) ) ) + STRING_7 ) + ( dto . METHOD_6 ( ) ) ) + STRING_8 ) + ( IDENT_9 . METHOD_11 ( ) ) ) ) ; IDENT_9 . setId ( IDENT_16 . METHOD_16 ( ) ) ; } else { if ( IDENT_9 . METHOD_11 ( ) . METHOD_17 ( ) ) { java . util . List < org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 > IDENT_17 = METHOD_18 ( IDENT_9 . METHOD_8 ( ) , dto . getType ( ) ) ; if ( ( IDENT_17 . size ( ) ) > 1 ) { throw new java . lang . IllegalStateException ( ( ( ( STRING_9 + ( IDENT_9 . METHOD_8 ( ) ) ) + STRING_10 ) + ( dto . getType ( ) ) ) ) ; } if ( ( IDENT_17 . size ( ) ) == 1 ) { IDENT_9 . setId ( IDENT_17 . get ( 0 ) . METHOD_16 ( ) ) ; } else { IDENT_9 . setId ( IDENT_18 . METHOD_19 ( IDENT_19 . IDENT_20 ) ) ; } } else { IDENT_9 . setId ( IDENT_18 . METHOD_19 ( IDENT_19 . IDENT_20 ) ) ; } } IDENT_9 . METHOD_20 ( java . util . UUID . METHOD_21 ( ) . toString ( ) ) ; IDENT_21 . METHOD_22 ( IDENT_9 ) ; return METHOD_23 ( IDENT_9 . getId ( ) ) ; }
org . junit . Assert . assertNotNull ( result )