METHOD_0 ( ) { org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 request = new org . sagebionetworks . repo . model . IDENT_0 . METHOD_1 ( ) ; request . METHOD_2 ( IDENT_2 ) ; request . METHOD_3 ( IDENT_3 . IDENT_4 ) ; java . lang . String IDENT_5 = STRING_0 ; request . METHOD_4 ( IDENT_5 ) ; when ( IDENT_6 . METHOD_5 ( IDENT_7 ) ) . thenReturn ( true ) ; org . sagebionetworks . repo . model . IDENT_0 . IDENT_8 IDENT_9 = new org . sagebionetworks . repo . model . IDENT_0 . METHOD_6 ( ) ; IDENT_9 . METHOD_7 ( IDENT_10 ) ; IDENT_9 . METHOD_8 ( IDENT_3 . IDENT_11 ) ; IDENT_9 . METHOD_9 ( IDENT_12 ) ; IDENT_9 . METHOD_10 ( IDENT_13 ) ; IDENT_9 . METHOD_11 ( IDENT_14 ) ; IDENT_9 . setId ( IDENT_2 ) ; when ( IDENT_15 . METHOD_12 ( IDENT_2 ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_15 . METHOD_13 ( eq ( IDENT_2 ) , eq ( IDENT_3 . IDENT_4 ) , eq ( IDENT_5 ) , eq ( IDENT_10 ) , METHOD_14 ( ) ) ) . thenReturn ( IDENT_9 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_16 ) . METHOD_15 ( IDENT_2 , IDENT_17 . IDENT_18 , IDENT_14 , IDENT_19 . IDENT_20 , IDENT_21 ) ; verify ( IDENT_22 , METHOD_16 ( ) ) . METHOD_17 ( anyString ( ) ) ; } METHOD_18 ( org . sagebionetworks . repo . model . IDENT_23 , org . sagebionetworks . repo . model . status . IDENT_24 ) { if ( IDENT_25 == null ) throw new java . lang . IllegalArgumentException ( STRING_1 ) ; if ( ( IDENT_25 . getStatus ( ) ) == null ) throw new java . lang . IllegalArgumentException ( STRING_2 ) ; org . sagebionetworks . repo . model . IDENT_23 . METHOD_19 ( IDENT_26 ) ; if ( ! ( IDENT_26 . METHOD_20 ( ) ) ) throw new org . sagebionetworks . repo . model . METHOD_21 ( STRING_3 ) ; IDENT_27 . METHOD_18 ( IDENT_25 ) ; return IDENT_27 . METHOD_22 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_9 , manager . METHOD_18 ( IDENT_7 , request ) )