Example #1
0
        private void ShouldParseUpToActivityCategoryName()
        {
            const string expected = "some_name";

            var actual =
                PropertyParser.ParseActivity($"{nameof(Activity.ActivityCategory)}.{nameof(ActivityCategory.Name)}",
                                             expected, null);

            Assert.Equal(actual.ActivityCategory.Name, expected);
        }