public void It_should_have_Path_as_dot() { EditViewElement element = _node.Value as EditViewElement; Assert.NotNull(element.Properties); Assert.True(element.Properties.Count > 0); Assert.True(element.Properties.ContainsKey(BindingConstants.Attributes.Text)); Assert.True(element.Properties[BindingConstants.Attributes.Text].TargetPath.Equals(".")); }
public void It_should_have_no_converter() { EditViewElement element = _node.Value as EditViewElement; Assert.NotNull(element.Properties); Assert.True(element.Properties.Count > 0); Assert.True(element.Properties.ContainsKey(BindingConstants.Attributes.Text)); Assert.Null(element.Properties[BindingConstants.Attributes.Text].Converter); }
public void It_should_not_have_Path_as_TestPath() { EditViewElement element = _node.Value as EditViewElement; Assert.NotNull(element.Properties); Assert.True(element.Properties.Count > 0); Assert.True(element.Properties.ContainsKey(BindingConstants.Attributes.Text)); Assert.False(element.Properties[BindingConstants.Attributes.Text].SourcePath.Equals("TestPath")); }