Beispiel #1
0
        public void Start_ShouldRegisterAtLeastOneHouseBot()
        {
            var counter = 0;

            _tournament
            .When(x => x.RegisterPlayer(Arg.Any <TournamentPlayer>()))
            .Do(x => counter++);

            _controller.Start();

            Assert.That(counter, Is.GreaterThan(0));
        }