public void ConstructorTest() { using (StateFixture _object = new StateFixture()) { SemanticDataSetSource _register1 = new SemanticDataSetSource(_object); Assert.AreEqual <int>(3, _register1.Count); Assert.IsTrue(_register1.ContainsKey("Property0")); Assert.IsTrue(_register1.ContainsKey("Property1")); Assert.IsTrue(_register1.ContainsKey("Property2")); Assert.AreEqual <string>(_object.BrowseName.ToString(), _register1.SemanticDataSetRootBrowseName); } }