Esempio n. 1
0
        public void Create_should_create_method_name_from_name_and_type()
        {
            var a = FieldName.Create("Hello", TypeName.Create("System", "String"));
            var b = FieldName.Parse("Hello:System.String");

            Assert.Equal(a, b);
        }
Esempio n. 2
0
        public void Create_should_create_method_name_from_name()
        {
            var a = FieldName.Create("Hello");
            var b = FieldName.Parse("Hello");

            Assert.Equal(a, b);
        }