public byte[] getDataAsBytes() {
        return dataAsBytes;
    }
@Test
    void convertsToByteData() {
        String encodedString = Base64.getEncoder().encodeToString("asdf".getBytes(StandardCharsets.UTF_8));
        Image image = new Image("image/png", encodedString, "sha-256");
        assertThat(image.getDataAsBytes(), is("asdf".getBytes(StandardCharsets.UTF_8)));
    }