Tests.vCardSourceTests.Constructor C# (CSharp) Method

Constructor() private method

private Constructor ( ) : void
return void
        public void Constructor()
        {

            // Tests the default values of the vCardSource
            // class when the parameterless constructor is used.

            vCardSource source = new vCardSource();

            Assert.IsEmpty(
                source.Context,
                "The Context property should default to empty.");

            Assert.IsNull(
                source.Uri,
                "The Uri property should default to null.");

        }