InputStream stream = new ByteArrayInputStream(simplePath.getBytes());
DataFrame frame = deserializer.deserialize(stream);
assertEquals(DataFrame.TYPE_HEADERS, frame.getType());
BasicState state = deserializer.getState(stream);
assertNotNull(state);
assertEquals("/foo", state.getPath());
assertEquals("bar", state.getQueryString());
}