    @Test
    public void deleteEventTest() throws Exception {

        final String jsonString = deletedEventJson();

        new Expectations() {
            { mockHttpServletRequest.getHeader(Headers.X_VOL_TENANT_DOMAIN); result=TENANT_URL; }
            { mockHttpServletRequest.getHeader(Headers.X_VOL_SITE_DOMAIN); result=SITE_URL; }
            { mockHttpServletRequest.getIntHeader(Headers.X_VOL_TENANT); result=TENANT_ID; }
            { mockHttpServletRequest.getIntHeader(Headers.X_VOL_SITE); result=SITE_ID; }
            { mockHttpServletRequest.getHeader(Headers.X_VOL_CORRELATION); result=CORRELATION_ID; }
            { mockHttpServletRequest.getHeader(Headers.X_VOL_HMAC_SHA256); result = HMAC_SHA_256; }
            { mockHttpServletRequest.getIntHeader(Headers.X_VOL_MASTER_CATALOG); result=MASTER_CATALOG_ID; }
            { mockHttpServletRequest.getIntHeader(Headers.X_VOL_CATALOG); result=CATALOG_ID; }

            { AppAuthenticator.isUseSSL(); result=false; times=2; } 
            { mockHttpServletRequest.getHeader(Headers.DATE); result=HEADER_DATE; }
            { mockHttpServletRequest.getInputStream(); result=mockServletInputStream; }
            { IOUtils.toString(mockServletInputStream); result=jsonString; }
            { Crypto.isRequestValid((ApiContext)any, (String)any); result=true; }
        };

        EventService eventService = new EventService();
        EventHandlerStatus status = eventService.dispatchEvent(mockHttpServletRequest);
        
        assertEquals(HttpServletResponse.SC_OK, status.getStatus());
    }