@Test
public void testDeserializeJsonNonIntegerVersion() throws IOException {

    final String file = "/serialization/json/non-integer-version.snapshot";
    try (final InputStream is = this.getClass().getResourceAsStream(file)) {
        try {
            serializer.readDataModelVersion(is);
            fail("Should fail");
        } catch (SerializationException e) {
            assertEquals("Unable to read the data model version for the flow content.", e.getMessage());
        }
    }
}