public void Test_thisProperty_NameParameter()
        {
            ProjectionInfo info = new ProjectionInfo();
            info.Name = "TestProjection";
            info.Format = ProjectionFormat.Html;

            ProjectionStateCollection collection = new ProjectionStateCollection();
            collection[info.Name, info.Format] = info;

            Assert.IsTrue(collection.Contains(info.Name), "Returned false when it have been true.");
        }
        public void Test_Contains_NameProperty_NameBased()
        {
            ProjectionInfo info = new ProjectionInfo();
            info.Name = "TestProjection";
            info.Format = ProjectionFormat.Html;

            ProjectionStateCollection collection = new ProjectionStateCollection();
            collection.Add(info);

            Assert.IsTrue(collection.Contains(info.Name), "Returned false when it have been true.");
        }
        public void Test_thisProperty_NameParameter()
        {
            ProjectionInfo info = new ProjectionInfo();

            info.Name   = "TestProjection";
            info.Format = ProjectionFormat.Html;

            ProjectionStateCollection collection = new ProjectionStateCollection();

            collection[info.Name, info.Format] = info;

            Assert.IsTrue(collection.Contains(info.Name), "Returned false when it have been true.");
        }
        public void Test_Contains_NameProperty_NameBased()
        {
            ProjectionInfo info = new ProjectionInfo();

            info.Name   = "TestProjection";
            info.Format = ProjectionFormat.Html;

            ProjectionStateCollection collection = new ProjectionStateCollection();

            collection.Add(info);

            Assert.IsTrue(collection.Contains(info.Name), "Returned false when it have been true.");
        }