@Test(expected = JsonParseException.class)
public void shouldThrowParserExceptionWhenDeserializeStorageCapabilitiesV3ContainingInvalidRaidLevel() {

    JsonParser parser = new JsonParser();
    JsonElement jsonElement = parser.parse(STORAGE_CAPABILITIES_V3_WITH_INVALID_RAID_LEVEL);
    deserializer.deserialize(jsonElement, StorageCapabilities.class, null);
}