METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( any ( org . sagebionetworks . repo . model . IDENT_1 . class ) , anyString ( ) ) ) . thenReturn ( true ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; org . sagebionetworks . repo . model . IDENT_5 . IDENT_6 status = new org . sagebionetworks . repo . model . IDENT_5 . METHOD_3 ( ) ; status . METHOD_4 ( user . getId ( ) ) ; status . METHOD_5 ( STRING_0 ) ; status . METHOD_6 ( IDENT_7 . IDENT_8 ) ; when ( IDENT_9 . METHOD_7 ( anyString ( ) ) ) . thenReturn ( status ) ; org . sagebionetworks . repo . model . IDENT_5 . METHOD_3 result = manager . METHOD_7 ( user , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . sagebionetworks . repo . model . IDENT_1 , java . lang . String ) { if ( IDENT_10 == null ) throw new java . lang . IllegalArgumentException ( STRING_1 ) ; org . sagebionetworks . repo . model . IDENT_5 . METHOD_3 status = METHOD_8 ( IDENT_11 ) ; if ( ! ( IDENT_12 . METHOD_1 ( IDENT_10 , status . METHOD_9 ( ) . toString ( ) ) ) ) { throw new org . sagebionetworks . repo . model . METHOD_10 ( STRING_2 ) ; } return status ; }
org . junit . Assert . assertNotNull ( result )