public void BuildWordListFullPath_Throws_WhenPathIsNull() { //Arrange string path = null; string name = "s"; string lang = "eb"; //Act //Assert var actual = WordListFileSourceFactory.BuildWordListFullPath(path, name, lang); }
public void BuildWordListFullPath_Case2() { //Arrange string path = @"c:\somefolder"; string name = "words"; string lang = "en"; //Act var actual = WordListFileSourceFactory.BuildWordListFullPath(path, name, lang); //Assert Assert.AreEqual(@"c:\somefolder\words_en.txt", actual); }
public void BuildWordListFullPath_Case1() { //Arrange string path = ""; string name = null; string lang = null; //Act var actual = WordListFileSourceFactory.BuildWordListFullPath(path, name, lang); //Assert Assert.AreEqual("_.txt", actual); }
public void BuildWordListFullPath_WhenPathIsEmpty() { //Arrange string path = ""; string name = "s"; string lang = "eb"; //Act var actual = WordListFileSourceFactory.BuildWordListFullPath(path, name, lang); //Assert Assert.AreEqual("s_eb.txt", actual); }