public void should_create_new_type_of_ants() { _creator.Create("Warrior"); _repository.Received(1).Create(Arg.Is <AntType>(a => a.Type == "Warrior")); }
public void CreateType(string type) { _typeCreator.Create(type); }