@Test public void shouldGetDistributionIfExists() throws Exception { Distribution distribution = new Distribution(); repository.get(distribution); verify(mapper).get(distribution); }
public Distribution get(Distribution distribution) { return mapper.get(distribution); }
DistributionRepository { public Distribution get(Distribution distribution) { return mapper.get(distribution); } }
DistributionRepository { public Distribution get(Distribution distribution) { return mapper.get(distribution); }  }
DistributionRepository { public Distribution get(Distribution distribution) { return mapper.get(distribution); }  Distribution create(Distribution distribution); Distribution get(Distribution distribution); void updateDistributionStatus(Long distributionId, DistributionStatus status, Long modifiedBy); List<Long> getSyncedPeriodsForDeliveryZoneAndProgram(Long zoneId, Long programId); Distribution getBy(Long distributionId); }
DistributionRepository { public Distribution get(Distribution distribution) { return mapper.get(distribution); }  Distribution create(Distribution distribution); Distribution get(Distribution distribution); void updateDistributionStatus(Long distributionId, DistributionStatus status, Long modifiedBy); List<Long> getSyncedPeriodsForDeliveryZoneAndProgram(Long zoneId, Long programId); Distribution getBy(Long distributionId);  }