@Test
public void testMetadata() throws ImageParsingException {

    FirmwareImage image = new FirmwareImage(rawImageData_valid, "");
    assertThat(image.metadata()).isEqualTo(intArrayToByteArray(new int[] {
            0x64, 0x00,                // Version
            0x00, 0x7C,                // Length
            0x41, 0x41, 0x41, 0x41,    // AAAA
            0xFF, 0xFF, 0xFF, 0xFF     // Reserved
    }));
}