public void CombinedString_ParseGood() { var current = new SynchronEvent().SetCompanions("asd asd asd ; [email protected] "); Assert.Equal("*****@*****.**", current.GetParticipants()[0]); }
public void BadString_ParseGood() { var current = new SynchronEvent().SetCompanions("asd asd asd ; [email protected] "); Assert.Equal(1, current.GetParticipants().Count); }