@Override @Test public void read () { Eviction eviction = dao.read (1L); assertNotNull (eviction); assertEquals (eviction.getId (), Long.valueOf (1)); assertEquals (eviction.getKeepPeriod (), 10); assertEquals (eviction.getMaxDiskUsage (), 80); assertEquals (eviction.getMaxProductNumber (), 1000); assertEquals (eviction.getProducts ().size (), 0); assertEquals (eviction.getStrategy (), EvictionStrategy.NONE); }
public Set<Product> getProducts () { Eviction eviction = getEviction (); return eviction.getProducts (); }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public Set<Product> getProducts () { Eviction eviction = getEviction (); return eviction.getProducts (); } }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public Set<Product> getProducts () { Eviction eviction = getEviction (); return eviction.getProducts (); }  }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public Set<Product> getProducts () { Eviction eviction = getEviction (); return eviction.getProducts (); }  Eviction getFactoryDefault(); Eviction getEviction(); void update(EvictionStrategy strategy, int keep_period,
      int max_disk_usage); void setProducts(Set<Product> products); Set<Product> getProducts(); void removeProduct(Product product); }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public Set<Product> getProducts () { Eviction eviction = getEviction (); return eviction.getProducts (); }  Eviction getFactoryDefault(); Eviction getEviction(); void update(EvictionStrategy strategy, int keep_period,
      int max_disk_usage); void setProducts(Set<Product> products); Set<Product> getProducts(); void removeProduct(Product product);  }