Aura.Tests.Channel.Scripting.WUUpgradesTests.WUExceptions C# (CSharp) Method

WUExceptions() private method

private WUExceptions ( ) : void
return void
		public void WUExceptions()
		{
			var wu = new WUUpgrades();

			Assert.Throws(typeof(ArgumentOutOfRangeException), () => { wu.ChainCastLevel = 10; });
			Assert.DoesNotThrow(() => { wu.ChainCastSkillId = 10000; });
			Assert.DoesNotThrow(() => { wu.ChainCastLevel = 9; });
		}
	}