forked from DevFW-CICD/spring-petclinic
test methods:used should/shouldNot
This commit is contained in:
parent
7080682d3e
commit
5c9ab6bd06
8 changed files with 33 additions and 61 deletions
|
|
@ -20,6 +20,7 @@ import javax.persistence.Table;
|
|||
|
||||
/**
|
||||
* @author Juergen Hoeller
|
||||
* Can be Cat, Dog, Hamster...
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "types")
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public class JdbcVetRepositoryImpl implements VetRepository {
|
|||
/**
|
||||
* Refresh the cache of Vets that the ClinicService is holding.
|
||||
*
|
||||
* @see org.springframework.samples.petclinic.model.service.ClinicService#findVets()
|
||||
* @see org.springframework.samples.petclinic.model.service.ClinicService#shouldFindVets()
|
||||
*/
|
||||
@Override
|
||||
public Collection<Vet> findAll() throws DataAccessException {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import org.springframework.samples.petclinic.model.Visit;
|
|||
|
||||
|
||||
/**
|
||||
* Mostly used as a facade for all Petclinic controllers
|
||||
* Mostly used as a facade so all controllers have a single point of entry
|
||||
*
|
||||
* @author Michael Isvy
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue