### Question:
CoreParsedAdvertisement implements ParsedAdvertisement { @Override @Nullable public String getName() { return name; } CoreParsedAdvertisement(byte[] rawAdData); @Override @Nullable String getName(); @Override boolean hasService(UUID svc); @Override @Nullable byte[] getManufacturerData(int manufacturerId); @Override @Nullable byte[] getEIRData(int eirDataType); @Override byte[] getRawAdvertisement();  }### Answer:
@Test public void test_invalid_data() { parsedAdvertisement = new CoreParsedAdvertisement(INVALID_RAW_DATA); assertNull(parsedAdvertisement.getName()); }