Aqueduct.ServerDensity.Tests.ServerDensityApiTest.Initialise_WhenAccountIsNotSet_ThrowsException C# (CSharp) Method

Initialise_WhenAccountIsNotSet_ThrowsException() private method

private Initialise_WhenAccountIsNotSet_ThrowsException ( ) : void
return void
        public void Initialise_WhenAccountIsNotSet_ThrowsException()
        {
            var settings = new ServerDensitySettings("", "key", new NetworkCredential("u", "p"));
            Assert.Throws<ArgumentException>(() =>
            {
                ServerDensityApi.Initialise(settings);
            });
        }