@Test
public void testRawType() {

    ImageItem item = new ImageItem("test");
    State state = new RawType(new byte[0], "application/octet-stream");
    item.setState(state);
    assertEquals(state, item.getState());
}