@Test public void ShouldGetByCode() { pfRep.getByCode("code"); verify(pfMapper).getByCode("code"); }
public ProductForm getByCode(String code) {return pfMapper.getByCode(code);}
ProductFormRepository { public ProductForm getByCode(String code) {return pfMapper.getByCode(code);} }
ProductFormRepository { public ProductForm getByCode(String code) {return pfMapper.getByCode(code);} ProductFormRepository(ProductFormMapper productFormMapper); }
ProductFormRepository { public ProductForm getByCode(String code) {return pfMapper.getByCode(code);} ProductFormRepository(ProductFormMapper productFormMapper); ProductForm getByCode(String code); void insert(ProductForm pf); List<ProductForm> getAll(); void update(ProductForm pf); }
ProductFormRepository { public ProductForm getByCode(String code) {return pfMapper.getByCode(code);} ProductFormRepository(ProductFormMapper productFormMapper); ProductForm getByCode(String code); void insert(ProductForm pf); List<ProductForm> getAll(); void update(ProductForm pf);  }