public void can_handle_parent()
        {
            var typeText = "Name=Child ParentType=Parent)";
            var s = new TypeParser();

            var expected = "Parent.Child";
            var actual = s.GetTypeFromString(typeText);
            Assert.AreEqual(expected, actual);
        }
        public void can_handle_simple_text()
        {
            var typeText = "parent";
            var s = new TypeParser();

            var expected = "parent";
            var actual = s.GetTypeFromString(typeText);
            Assert.AreEqual(expected, actual);
        }
        public void can_handle_grandparent()
        {
            var typeText = "(Name=Grandchild ParentType=(Name=Child ParentType=(Name=Parent ParentType=GrandParent))";
            var s = new TypeParser();

            var expected = "GrandParent.Parent.Child.Grandchild";
            var actual = s.GetTypeFromString(typeText);
            Assert.AreEqual(expected, actual );
        }