A Real-World Example of a Mocktail Test
Names that put the verb before the noun. By giving the verb primacy, as the system grows and opportunities for reuse arise, this encourages me to generalize the direct object of the class via polymorphism as opposed to generalizing the core function of the class, violating the single-responsibility principle (i.e.
PetsDogmay evolve intoPetsAnimal, whereasDogPetteris more likely to evolve into a catch-allDogManager)
I’ve definitely written classes that (d)evolved from DogPetter to DogManager. I’m going to give this verb-first naming a spin.