@Test public void testPacketAttributes() { assertEquals(Collections.unmodifiableMap(testAttributes), new DataPacketImpl(testAttributes, null, null).getAttributes()); }
@Override public Map<String, String> getAttributes() { return attributes; }
DataPacketImpl implements DataPacket { @Override public Map<String, String> getAttributes() { return attributes; } }
DataPacketImpl implements DataPacket { @Override public Map<String, String> getAttributes() { return attributes; } DataPacketImpl(Map<String, String> attributes, byte[] data, String dataFile); }
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(); }
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();  }