/// <summary> /// raises an instance of Database /// </summary> /// <param name="botFactory">the factory the database can use to raise IBots</param> /// <param name="humanFactory">the factory the database can use to raise IHumans</param> public Database(IBotFactory botFactory, IHumanFactory humanFactory) { this.BotFactory = botFactory; this.HumanFactory = humanFactory; }
public void TestInitialize() { this.humanFactory = new HumanFactory(); this.botFactory = new BotFactory(); }