AkkaOfEmpires.Tests.Supervisors.ResourcesSupervisorActor_Should.Increase_StoneAmound_When_StoneGathered_Message_Received C# (CSharp) Method

Increase_StoneAmound_When_StoneGathered_Message_Received() private method

        public void Increase_StoneAmound_When_StoneGathered_Message_Received()
        {
            var actor = ActorOfAsTestActorRef<ResourcesSupervisorActor>();
            var message = new ResourceGathered(Resource.Stone, 5);
            actor.Tell(message);
            actor.UnderlyingActor.ResourcesAmounts[Resource.Stone].ShouldBe<uint>(5);
        }