@Test
public void resetsApplicationContextAlterCallToRequestHandler() throws Exception {

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