### Question:
AisShipStaticA implements AisShipStatic { public String getDestination() { if (destination == null) destination = extractor.getString(302, 422); return destination; } AisShipStaticA(String message, String source, int padBits);  AisShipStaticA(AisExtractorFactory factory, String message, String source, int padBits); @Override int getMessageId(); @Override int getRepeatIndicator(); @Override int getMmsi(); int getAisVersionIndicator(); Optional<Integer> getImo(); String getCallsign(); @Override String getName(); @Override int getShipType(); @Override Optional<Integer> getDimensionA(); @Override Optional<Integer> getDimensionB(); @Override Optional<Integer> getDimensionC(); @Override Optional<Integer> getDimensionD(); @Override Optional<Integer> getLengthMetres(); @Override Optional<Integer> getWidthMetres(); int getTypeOfElectronicPositionFixingDevice(); long getExpectedTimeOfArrival(); long getExpectedTimeOfArrivalUnprocessed(); double getMaximumPresentStaticDraughtMetres(); String getDestination(); boolean getDataTerminalAvailable(); int getSpare(); @Override String getSource(); @Override String toString();  }### Answer:
@Test public void testDestination() { String m = "55DaI402;uLs<H<gV21=@Dhh5:0p5HTL5@u:2216LprDI6Gn0EA0CD2ADc0EDm4PC2@H880"; AisShipStaticA s = new AisShipStaticA(m, "source", 0); assertEquals("DAMPIER,AUSTRALIA", s.getDestination()); }