@Test (dependsOnMethods = "getProduct") public void setProducts () { dao.setProducts (getProducts ()); Set<Product> toEvict = dao.getProducts (); assertEquals (toEvict, getProducts ()); }
public void setProducts (Set<Product> products) { Eviction eviction = getEviction (); eviction.setProducts (products); update (eviction); }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public void setProducts (Set<Product> products) { Eviction eviction = getEviction (); eviction.setProducts (products); update (eviction); } }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public void setProducts (Set<Product> products) { Eviction eviction = getEviction (); eviction.setProducts (products); update (eviction); }  }
EvictionDao extends HibernateDao<Eviction, Long> implements
      IEvictionDao { public void setProducts (Set<Product> products) { Eviction eviction = getEviction (); eviction.setProducts (products); update (eviction); }  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 void setProducts (Set<Product> products) { Eviction eviction = getEviction (); eviction.setProducts (products); update (eviction); }  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);  }