METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . sagebionetworks . repo . model . file . IDENT_1 IDENT_2 = new org . sagebionetworks . repo . model . file . METHOD_1 ( ) ; IDENT_2 . setId ( IDENT_0 ) ; when ( IDENT_3 . get ( IDENT_0 ) ) . thenReturn ( IDENT_2 ) ; org . sagebionetworks . repo . model . file . METHOD_1 result = IDENT_4 . METHOD_2 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { org . sagebionetworks . repo . model . file . IDENT_5 IDENT_6 = IDENT_7 . get ( IDENT_0 ) ; if ( ! ( IDENT_6 instanceof org . sagebionetworks . repo . model . file . METHOD_1 ) ) { throw new java . lang . IllegalArgumentException ( org . sagebionetworks . file . IDENT_8 . IDENT_9 . IDENT_10 ) ; } return ( ( org . sagebionetworks . repo . model . file . METHOD_1 ) ( IDENT_6 ) ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , result )