METHOD_0 ( ) { java . io . File file = new java . io . File ( STRING_0 ) ; javax . ws . rs . core . Response IDENT_0 = javax . ws . rs . core . Response . METHOD_1 ( file , IDENT_1 . IDENT_2 ) . header ( STRING_1 , ( STRING_2 + ( file . getName ( ) ) ) ) . build ( ) ; org . apache . IDENT_3 . view . IDENT_4 IDENT_5 = METHOD_2 ( org . apache . IDENT_3 . rest . IDENT_6 . IDENT_7 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_3 ( ( ( javax . servlet . http . IDENT_9 ) ( org . mockito . Mockito . any ( ) ) ) , ( ( org . apache . IDENT_3 . common . IDENT_10 ) ( org . mockito . Mockito . any ( ) ) ) , ( ( java . lang . String ) ( org . mockito . Mockito . any ( ) ) ) , ( ( java . lang . String ) ( org . mockito . Mockito . any ( ) ) ) , ( ( java . lang . String ) ( org . mockito . Mockito . any ( ) ) ) ) ) . thenReturn ( STRING_3 ) ; org . mockito . Mockito . when ( IDENT_11 . METHOD_4 ( org . apache . IDENT_3 . rest . IDENT_6 . IDENT_7 ) ) . thenReturn ( METHOD_2 ) ; org . mockito . Mockito . when ( IDENT_12 . METHOD_5 ( METHOD_2 , STRING_3 ) ) . thenReturn ( file ) ; javax . ws . rs . core . Response IDENT_13 = IDENT_11 . METHOD_5 ( request , org . apache . IDENT_3 . rest . IDENT_6 . IDENT_7 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_12 ) . METHOD_5 ( METHOD_2 , STRING_3 ) ; org . mockito . Mockito . verify ( IDENT_8 ) . METHOD_3 ( ( ( javax . servlet . http . IDENT_9 ) ( org . mockito . Mockito . any ( ) ) ) , ( ( org . apache . IDENT_3 . common . IDENT_10 ) ( org . mockito . Mockito . any ( ) ) ) , ( ( java . lang . String ) ( org . mockito . Mockito . any ( ) ) ) , ( ( java . lang . String ) ( org . mockito . Mockito . any ( ) ) ) , ( ( java . lang . String ) ( org . mockito . Mockito . any ( ) ) ) ) ; } getStatus ( ) { return status ; }
org . junit . Assert . assertEquals ( IDENT_0 . getStatus ( ) , IDENT_13 . getStatus ( ) )