public void TokenizesComplicatedType()
 {
     Assert.AreEqual(
         new List <string> {
         "Ns", ".", "Class", "<", "T1", ",", "T2", ".", "T3", ">", ".", "Delegate"
     },
         TypeNameTokenizer.Tokenize("Ns.Class<T1,T2.T3>.Delegate"));
 }
 public void TokenizesGenericClassWithMultipleTypes()
 {
     Assert.AreEqual(
         new List <string> {
         "Class", "<", "T1", ",", "T2", ">"
     },
         TypeNameTokenizer.Tokenize("Class<T1,T2>"));
 }
 public void TokenizesSingleClass()
 {
     Assert.AreEqual(new List <string> {
         "Class"
     }, TypeNameTokenizer.Tokenize("Class"));
 }
 public void TokenizesGenericClass()
 {
     Assert.AreEqual(new List <string> {
         "Class", "" + "<", "T", ">"
     }, TypeNameTokenizer.Tokenize("Class<T>"));
 }
 public void TokenizesClassInNamespace()
 {
     Assert.AreEqual(new List <string> {
         "Ns", ".", "Class"
     }, TypeNameTokenizer.Tokenize("Ns.Class"));
 }