### Question:
AisBStaticDataReportPartB extends AbstractAisBStaticDataReport { @VisibleForTesting static String extractVendorManufacturerId(AisExtractor extractor) { return extractor.getString(48, 66); } AisBStaticDataReportPartB(String message, int padBits);  AisBStaticDataReportPartB(String message, String source, int padBits);  AisBStaticDataReportPartB(AisExtractorFactory factory, String message, String source,
            int padBits); @Override String toString(); int getShipType(); Optional<String> getCallsign(); Optional<Integer> getDimensionA(); Optional<Integer> getDimensionB(); Optional<Integer> getDimensionC(); Optional<Integer> getDimensionD(); Optional<Integer> getLengthMetres(); Optional<Integer> getWidthMetres(); String getVendorManufacturerId(); Integer getVendorUnitModelCode(); Integer getVendorUnitSerialNumber();  }### Answer:
@Test public void testVendorManufacturerId() { final String vendorManufacturerId = "ABC"; AisExtractor ex = createMock(AisExtractor.class); expect(ex.getString(anyInt(), anyInt())).andReturn(vendorManufacturerId).atLeastOnce(); replay(ex); String result = AisBStaticDataReportPartB.extractVendorManufacturerId(ex); assertEquals(vendorManufacturerId, result); verify(ex); }