Exemplo n.º 1
0
        public void CurrentFlowerGet_PotAfterPullFlower_ReturnsNull()
        {
            // arrange
            var pot    = new Pot();
            var flower = new Flower(new PlantSource(Plants.Hedera, SeedType.Seedling));

            new Planting(flower, new Soil(""), pot);

            // act
            pot.PullFlower();
            var result = pot.CurrentFlower;

            // assert
            Assert.AreEqual(null, result);
        }