@Test(expected = AMRuntimeException.class)
public void testDeserializeInvalidString() throws Exception {

	String invalidString = RandomTestUtil.randomString();
	AMImageSerializer amImageSerializer = new AMImageSerializerImpl();
	InputStream inputStream = Mockito.mock(InputStream.class);
	amImageSerializer.deserialize(invalidString, () -> inputStream);
}