    @Test
    public void testRaw() throws Exception {

        MockGeoServer.get().catalog()
        .resources()
          .resource("workspaces/foo/styles/one.yaml", "title: raw")
          .directory("workspaces/foo/styles")
          .resource("workspaces/foo/styles/icon.png", "PNG8")
          .resource("workspaces/foo/styles/symbols.TTF", "TTF")
          .directory("styles")
          .resource("styles/global.png", "PNG")
        .geoServer().catalog()
          .workspace("foo", "http://scratch.org", true)
            .layer("one")
              .style().ysld("one.yaml")
        .geoServer().build(geoServer);

      MvcResult result = mvc.perform(get("/app/api/icons/foo/icon.png"))
              .andExpect(status().isOk())
              .andExpect(content().contentType(MediaType.IMAGE_PNG_VALUE))
              .andReturn();

      String raw = result.getResponse().getContentAsString();
      
      assertEquals("PNG8",raw);
      
      //Global styles directory
      result = mvc.perform(get("/app/api/icons/global.png"))
              .andExpect(status().isOk())
              .andExpect(content().contentType(MediaType.IMAGE_PNG_VALUE))
              .andReturn();

      raw = result.getResponse().getContentAsString();
      
      assertEquals("PNG",raw);
      
    }