public void WhenAllOverloadsShouldMatch() { // Watering multiple plants requires a lot of setup, thus it is easier to test with only 1 plant, but we know the actual implementation is in the lowest overload Plant plant = new Melothria(); plant.Water(new Gardener()); }
public void WhenOnlyTheTopLevelOverloadShouldMatch() { Plant plant = new Melothria(); plant.Water(new Gardener()); }