METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( IDENT_1 , org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_5 . IDENT_6 , IDENT_7 . IDENT_8 ) ) . thenReturn ( IDENT_9 . IDENT_10 ) ; java . lang . String IDENT_11 = STRING_0 ; org . sagebionetworks . repo . model . IDENT_12 IDENT_13 = org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . METHOD_2 ( false , IDENT_11 ) ; when ( IDENT_14 . METHOD_3 ( eq ( java . lang . Long . METHOD_4 ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 ) ) , eq ( java . lang . Long . METHOD_4 ( IDENT_11 ) ) , METHOD_5 ( ) ) ) . thenReturn ( 1L ) ; when ( IDENT_15 . get ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_5 . IDENT_6 ) ) . thenReturn ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_16 . METHOD_6 ( IDENT_1 , org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 , new java . util . Date ( ) ) ) ; boolean IDENT_17 = IDENT_18 . METHOD_7 ( IDENT_1 , org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_13 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_19 ) . METHOD_8 ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 , java . util . Arrays . asList ( new java . lang . String [ ] { IDENT_11 } ) ) ; verify ( IDENT_20 ) . METHOD_9 ( java . lang . Long . METHOD_4 ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 ) , java . lang . Long . METHOD_4 ( IDENT_11 ) ) ; verify ( IDENT_14 ) . METHOD_10 ( java . lang . Long . METHOD_4 ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 ) , java . lang . Long . METHOD_4 ( IDENT_11 ) ) ; verify ( IDENT_21 ) . METHOD_11 ( eq ( java . lang . Long . METHOD_4 ( org . sagebionetworks . repo . manager . IDENT_2 . IDENT_3 . IDENT_4 ) ) , eq ( java . lang . Long . METHOD_4 ( IDENT_11 ) ) , any ( java . util . Date . class ) ) ; } METHOD_7 ( org . sagebionetworks . repo . model . IDENT_12 , java . lang . String , org . sagebionetworks . repo . model . IDENT_12 ) { java . lang . String IDENT_11 = IDENT_13 . getId ( ) . toString ( ) ; boolean IDENT_22 = org . sagebionetworks . repo . manager . IDENT_2 . IDENT_16 . METHOD_12 ( IDENT_23 . METHOD_13 ( IDENT_24 ) , IDENT_11 ) ; if ( ! ( METHOD_14 ( IDENT_1 , IDENT_24 , IDENT_13 , IDENT_22 ) ) ) throw new org . sagebionetworks . repo . model . METHOD_15 ( STRING_1 ) ; if ( ! IDENT_22 ) { IDENT_23 . METHOD_8 ( IDENT_24 , java . util . Collections . singletonList ( IDENT_11 ) ) ; IDENT_25 . METHOD_11 ( java . lang . Long . METHOD_4 ( IDENT_24 ) , IDENT_13 . getId ( ) , new java . util . Date ( ) ) ; } IDENT_26 . METHOD_9 ( java . lang . Long . METHOD_4 ( IDENT_24 ) , IDENT_13 . getId ( ) ) ; IDENT_27 . METHOD_10 ( java . lang . Long . METHOD_4 ( IDENT_24 ) , IDENT_13 . getId ( ) ) ; return ! IDENT_22 ; }
org . junit . Assert . assertTrue ( IDENT_17 )