@Test public void shouldGetAll() { repository.getAll(); verify(mapper).getAll(); }
public List<ProductGroup> getAll() { return mapper.getAll(); }
ProductGroupRepository { public List<ProductGroup> getAll() { return mapper.getAll(); } }
ProductGroupRepository { public List<ProductGroup> getAll() { return mapper.getAll(); }  }
ProductGroupRepository { public List<ProductGroup> getAll() { return mapper.getAll(); }  void insert(ProductGroup productGroup); ProductGroup getByCode(String code); void update(ProductGroup productGroup); List<ProductGroup> getAll(); }
ProductGroupRepository { public List<ProductGroup> getAll() { return mapper.getAll(); }  void insert(ProductGroup productGroup); ProductGroup getByCode(String code); void update(ProductGroup productGroup); List<ProductGroup> getAll();  }