@Test
public void testEmbeddedImageAction() {

    int imageId = 110;
    String imageSource = "https://sometotallyunknowndomain.org/embedded.png";
    EmbeddedImageAction action = (EmbeddedImageAction)
            getSerializedDeserialized(new EmbeddedImageAction(imageId, imageSource));
    assertThat(action.getImageId(), is(imageId));
    assertThat(action.getImageSource(), is(imageSource));
}