@BeforeEach
    void setup() {
        petTypeFormatter = new PetTypeFormatter(clinicService);
    }
Test class for {@link PetTypeFormatter}

@author Colin But
src/test/java/org/springframework/samples/petclinic/web/PetTypeFormatterTests.java