@Test
public void resetsEnvironmentContextAlterCallToRequestHandler() throws Exception {

    ContainerRequest containerRequest = mockContainerRequest();
    ContainerResponse containerResponse = mockContainerResponse();
    EnvironmentContext environmentContext = mock(EnvironmentContext.class);
    everrestProcessor.process(containerRequest, containerResponse, environmentContext);
    EnvironmentContext environmentContextAfterCall = EnvironmentContext.getCurrent();
    assertNull(environmentContextAfterCall);
}