@Test
public void testSizeBytes() throws ImageParsingException {

    FirmwareImage image1 = new FirmwareImage(rawImageData_valid, "");
    FirmwareImage image2 = new FirmwareImage(rawImageData_invalid, "");
    assertThat(image1.sizeBytes()).isEqualTo(16);
    assertThat(image2.sizeBytes()).isEqualTo(42);
}