Example #1
0
 /// <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;
 }
Example #2
0
 public void TestInitialize()
 {
     this.humanFactory = new HumanFactory();
     this.botFactory   = new BotFactory();
 }