FirmwareBundle { public long version() { return images.get(0).version(); } FirmwareBundle(List<FirmwareImage> images); long version(); FirmwareImage getNextImage(); void reset();  }
@Test public void testFirmwareBundleVersion() throws ImageParsingException { images.add(imageA); bundle = new FirmwareBundle(images); assertThat(bundle.version()).isEqualTo(123450000); }