NoStorage implements IDataStorage<T> { @Override public boolean dataIsStorable(T data) { return false; }  @Override boolean dataExists(long id); @Override T loadData(long id); @Override boolean saveData(T data); @Override boolean dataIsStorable(T data); @Override boolean deleteData(T data);  }
@Test public void testDataIsStorable() { NoStorage<StoreImage> uut = new NoStorage<>(); assertFalse(uut.dataIsStorable(image)); }