@Test
public void getsBodyAsStream() throws Exception {

    ByteArrayInputStream in = new ByteArrayInputStream(new byte[0]);
    when(fileItem.getInputStream()).thenReturn(in);
    assertSame(in, inputItem.getBody());
}