public void should_incubate_eggs() { _nursery.IncubateEggs("Warrior", 5); _mediator .Received(1) .Send(Arg.Is <IncubationRequest>(it => it.Type == "Warrior" && it.Quantity == 5)); }
public string LayEggs(int quantity, string type) { _nursery.IncubateEggs(type, quantity); return($"Layed {quantity} {type} ant eggs"); }