public void DetermineAutoColonizationState_ModeIsAll_ReturnsTrue()
        {
            var playerMock  = new Mock <IPlayer>();
            var modeDeifner = new ColonizationModeProcessor(playerMock.Object);

            Assert.IsTrue(modeDeifner.DetermineAutoColonizationState(ColonizationMode.All));
        }
        public void DetermineAutoColonizationState_ModeIsAutoAndDensityIsNotOk_ReturnsFalse()
        {
            var playerMock = new Mock <IPlayer>();

            const long population  = 9_000_000_000;
            const int  planetCount = 2;

            playerMock.SetupGet(x => x.Population).Returns(population);
            playerMock.SetupGet(x => x.ColonizedPlanets).Returns(planetCount);

            var modeDefiner = new ColonizationModeProcessor(playerMock.Object);

            Assert.IsFalse(modeDefiner.DetermineAutoColonizationState(ColonizationMode.Auto));
        }