public void CanUseOffice() { var player = GetPlayerWithoutPrivilege(); RoleOwner.Goods.Add(new Coffee()); player.Goods.Add(new Coffee()); ReselectRole(); var office = new Office(); office.AddWorker(new Colonist()); player.Build(office); var action = new SellGood { GoodType = GoodType.Coffee }; CanExecuteActionOnce(action, RoleOwner); CanExecuteActionOnce(action, player); Assert.Equal(4, player.Doubloons); }