Beispiel #1
0
        public void Matches_PathStartsWithProperty_Fails()
        {
            var pathDefinition = new AnyPropertyStep <EmployeeVMDescriptor>();
            var wrongPath      = Path.Empty.Append(ProjectVM.ClassDescriptor.EndDate);

            AssertNoMatch(pathDefinition, wrongPath);
        }
Beispiel #2
0
        public void ToString_ReturnsKeyword()
        {
            var step = new AnyPropertyStep <EmployeeVMDescriptor>();

            Assert.AreEqual("EmployeeVMDescriptor.[any property]", step.ToString(isFirst: true));
        }