AkkaOfEmpires.Tests.Units.VillagerActor_Should.Be_Able_To_Change_Profession C# (CSharp) Method

Be_Able_To_Change_Profession() private method

private Be_Able_To_Change_Profession ( ) : void
return void
        public void Be_Able_To_Change_Profession()
        {
            _villager.Tell(VillagerOrders.ShepherdFlock);
            _villager.UnderlyingActor.Profession.ShouldBe(Profession.Shepherd);
            _villager.Tell(VillagerOrders.GatherFruits);
            _villager.UnderlyingActor.Profession.ShouldBe(Profession.Gatherer);
        }