public void Split_ValidNameConsistsOfTwoPartsSeparatedByDot_ReturnsTheFirstPartAndScondPart() { var name = "TheTypeName.TheKey"; SplittedName splitted = splitter.Split(name); Assert.IsNotNull(splitted); Assert.AreEqual("TheTypeName", splitted.TypeName); Assert.AreEqual("TheKey", splitted.Key); }
public void TestSplitName_NoCommas_01() { const string name = "jean de la fontaine"; Check(Splitter.Split(name)[0], expectedFamily: "fontaine", expectedGiven: "", expectedDroppingParticle: "jean de la"); }