Beispiel #1
0
 public void Setup()
 {
     _uut               = new DefensiveUnitUtilities();
     fakePlayer         = Substitute.For <Player>("IB");
     fakeDefensiveUnit  = Substitute.For <ArcherTower>();
     fakeDefensiveUnit1 = Substitute.For <CannonTower>();
 }
Beispiel #2
0
 public void Setup()
 {
     //  var username=new Player("");
     DefUtilities        = new DefensiveUnitUtilities();
     fakePlayer          = Substitute.For <Player>("IB");
     DefensiveUnitArcher = new ArcherTower();
     DefensiveUnitCannon = new CannonTower();
 }
Beispiel #3
0
 public void Setup()
 {
     //  var username=new Player("");
     DefUtilities        = new DefensiveUnitUtilities();
     userPlayer          = new Player("IB");
     DefensiveUnitArcher = new ArcherTower();
     DefensiveUnitCannon = new CannonTower();
 }