StoreImage implements ICachable<StoreImage> { public long getId() { return id; } StoreImage(final long id, BufferedImage image, ImageSize size);  StoreImage(final long id, byte[] base64, ImageSize size);  StoreImage(StoreImage image); long getId(); BufferedImage getImage(); ImageSize getSize(); @Override long getByteSize(); String getBase64(); byte[] getByteArray(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static final String STORE_IMAGE_FORMAT; static final String STORE_IMAGE_DATA_STRING; }
@Test public void testGetID() { StoreImage uut = new StoreImage(IMG_ID1, img, ImageSizePreset.ICON.getSize()); assertEquals(IMG_ID1, uut.getId()); }