AkkaOfEmpires.Tests.Subroutines.ResourceHarvesterActor_Should.Empty_CurrentlyCarrying_If_Different_Resource_To_Harvest C# (CSharp) Method

Empty_CurrentlyCarrying_If_Different_Resource_To_Harvest() private method

        public void Empty_CurrentlyCarrying_If_Different_Resource_To_Harvest()
        {
            _harvester.Tell(VillagerOrders.CutTrees);
            _harvester.Tell(new ResourceHarvesterActor.ResourceHarvested());
            _harvester.UnderlyingActor.CurrentlyCarrying.ShouldBe<uint>(1);
            _harvester.Tell(VillagerOrders.CatchFish);
            _harvester.UnderlyingActor.CurrentlyCarrying.ShouldBe<uint>(0);
        }