@Test
public void resetsParsedFormDataWhenSetEntityStream() {

    InputStream entityStream = mock(InputStream.class);
    containerRequest.setEntityStream(entityStream);
    verify(applicationContext.getAttributes()).remove("org.everrest.provider.entity.decoded.form");
    verify(applicationContext.getAttributes()).remove("org.everrest.provider.entity.encoded.form");
}