Castle.Facilities.WcfIntegration.Tests.RoundRobinPolicyTestCase.WillShiftNextTargetDownIfNecessary C# (CSharp) Method

WillShiftNextTargetDownIfNecessary() private method

private WillShiftNextTargetDownIfNecessary ( ) : void
return void
		public void WillShiftNextTargetDownIfNecessary()
		{
			CreateEndpoints(4);
			roundRobin.ChooseTarget();
			var target = roundRobin.ChooseTarget();
			roundRobin.RemoveTarget(target);
			target = roundRobin.ChooseTarget();
			Assert.AreEqual("http://localhost/endpoint3", target.Address.Uri.AbsoluteUri);
		}