public void GivenIHaveANewCafeAt(double x, double y) { var pos = new Mock <IPosition>(); pos.SetupGet(p => p.Value).Returns(new System.Windows.Point(x, y)); building = cafe = new BasicCafe(pos.Object); }
private void AddInitialCafe() { var building = new BasicCafe("Cafe") { ResourceCostPerIteration = 0.1, RewardPerIteration = 1 }; cmdProc.NewCafe(building); building.Position.Value = new Point(300, 300); }