    @Test(expected = IllegalArgumentException.class)
    public void throwsAnIllegalArgumentExceptionIfHashTypeIsInvalid() throws Exception {

        HashTypeAdaptor hashTypeAdaptor = new HashTypeAdaptor();
        hashTypeAdaptor.unmarshal("FOO");
    }