    @Test
    public void keyNotFound()
        throws Exception
    {


        MockHttpServletRequest request = new MockHttpServletRequest();
        request.addHeader( "Accept", MediaType.APPLICATION_JSON );

        request.setServletPath( "cache" );

        request.setPathInfo( "/foo" );

        MockHttpServletResponse response = new MockHttpServletResponse();

        directMemoryServlet.doGet( request, response );

        assertEquals( HttpServletResponse.SC_NO_CONTENT, response.getStatus() );

    }