METHOD_0 ( ) { org . sagebionetworks . repo . model . table . IDENT_0 body = new org . sagebionetworks . repo . model . table . METHOD_1 ( ) ; body . METHOD_2 ( STRING_0 ) ; body . METHOD_3 ( STRING_1 ) ; org . sagebionetworks . repo . model . table . METHOD_1 IDENT_1 = new org . sagebionetworks . repo . model . table . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( STRING_0 ) ; IDENT_1 . METHOD_3 ( STRING_2 ) ; java . lang . String IDENT_2 = STRING_3 ; when ( IDENT_3 . METHOD_4 ( body ) ) . thenReturn ( IDENT_2 ) ; java . util . List < org . sagebionetworks . repo . model . IDENT_4 . IDENT_5 > IDENT_6 = new java . util . IDENT_7 < org . sagebionetworks . repo . model . IDENT_4 . IDENT_5 > ( ) ; org . sagebionetworks . repo . model . IDENT_4 . IDENT_5 IDENT_8 = new org . sagebionetworks . repo . model . IDENT_4 . METHOD_5 ( ) ; IDENT_8 . METHOD_6 ( user . getId ( ) ) ; IDENT_8 . METHOD_7 ( STRING_4 ) ; IDENT_8 . METHOD_8 ( IDENT_1 ) ; IDENT_8 . METHOD_9 ( IDENT_9 . IDENT_10 ) ; IDENT_6 . add ( IDENT_8 ) ; org . sagebionetworks . repo . model . IDENT_4 . METHOD_5 IDENT_11 = new org . sagebionetworks . repo . model . IDENT_4 . METHOD_5 ( ) ; IDENT_11 . METHOD_6 ( user . getId ( ) ) ; IDENT_11 . METHOD_7 ( STRING_4 ) ; IDENT_11 . METHOD_8 ( body ) ; IDENT_11 . METHOD_9 ( IDENT_9 . IDENT_10 ) ; IDENT_6 . add ( IDENT_11 ) ; when ( IDENT_12 . METHOD_10 ( IDENT_2 , user . getId ( ) ) ) . thenReturn ( IDENT_6 ) ; org . sagebionetworks . repo . model . IDENT_4 . METHOD_5 status = manager . METHOD_11 ( user , body ) ; "<AssertPlaceHolder>" ; verify ( IDENT_12 , METHOD_12 ( ) ) . METHOD_11 ( METHOD_13 ( ) , any ( org . sagebionetworks . repo . model . IDENT_4 . IDENT_13 . class ) ) ; } METHOD_11 ( org . sagebionetworks . repo . model . IDENT_14 , org . sagebionetworks . repo . model . IDENT_4 . IDENT_13 ) { if ( user == null ) throw new java . lang . IllegalArgumentException ( STRING_5 ) ; if ( body == null ) throw new java . lang . IllegalArgumentException ( STRING_6 ) ; if ( body instanceof org . sagebionetworks . repo . model . IDENT_4 . IDENT_15 ) { org . sagebionetworks . repo . manager . IDENT_4 . IDENT_16 . log . info ( java . lang . String . format ( org . sagebionetworks . repo . manager . IDENT_4 . IDENT_16 . IDENT_17 , user . getId ( ) , IDENT_18 , status . METHOD_14 ( ) ) ) ; return status ; } } } org . sagebionetworks . repo . model . IDENT_4 . METHOD_5 status = IDENT_19 . METHOD_11 ( user . getId ( ) , body ) ; IDENT_20 . METHOD_15 ( status ) ; return status ; }
org . junit . Assert . assertEquals ( IDENT_11 , status )