### Question:
DataPacketImpl implements DataPacket { @Override public Map<String, String> getAttributes() { return attributes; } DataPacketImpl(Map<String, String> attributes, byte[] data, String dataFile); @Override Map<String, String> getAttributes(); @Override InputStream getData(); @Override long getSize(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testPacketAttributes() { assertEquals(Collections.unmodifiableMap(testAttributes), new DataPacketImpl(testAttributes, null, null).getAttributes()); }