METHOD_0 ( ) { status . METHOD_1 ( IDENT_0 . IDENT_1 ) ; when ( IDENT_2 . METHOD_2 ( IDENT_3 ) ) . METHOD_3 ( new org . sagebionetworks . repo . web . METHOD_4 ( STRING_0 ) ) . thenReturn ( status ) ; when ( IDENT_4 . METHOD_5 ( anyString ( ) , METHOD_6 ( ) , anyString ( ) ) ) . thenReturn ( true ) ; when ( IDENT_5 . METHOD_7 ( METHOD_6 ( ) , METHOD_6 ( ) ) ) . thenReturn ( false ) ; when ( IDENT_6 . METHOD_8 ( IDENT_7 ) ) . thenReturn ( true ) ; org . sagebionetworks . repo . model . table . IDENT_8 result = manager . METHOD_9 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 ) . METHOD_10 ( IDENT_3 ) ; verify ( IDENT_6 ) . METHOD_8 ( IDENT_7 ) ; verify ( IDENT_9 ) . METHOD_11 ( IDENT_3 , IDENT_10 . IDENT_11 , IDENT_12 , IDENT_13 . IDENT_14 ) ; } METHOD_9 ( java . lang . String ) { try { org . sagebionetworks . repo . model . table . IDENT_8 status = IDENT_15 . METHOD_2 ( IDENT_3 ) ; if ( ! ( IDENT_0 . IDENT_16 . equals ( status . METHOD_12 ( ) ) ) ) { if ( IDENT_17 . METHOD_7 ( org . sagebionetworks . repo . manager . table . IDENT_18 . IDENT_19 , status . METHOD_13 ( ) . getTime ( ) ) ) { return METHOD_14 ( IDENT_3 ) ; } else { return status ; } } if ( METHOD_15 ( IDENT_3 ) ) { return status ; } else { return METHOD_14 ( IDENT_3 ) ; } } catch ( org . sagebionetworks . repo . web . METHOD_4 e ) { if ( ! ( METHOD_16 ( IDENT_3 ) ) ) { throw new org . sagebionetworks . repo . web . METHOD_4 ( ( ( STRING_1 + IDENT_3 ) + STRING_2 ) ) ; } return METHOD_14 ( IDENT_3 ) ; } }
org . junit . Assert . assertNotNull ( result )