Example #1
0
 public void CheckIfPathIsValid_ShouldPassIfPathValid(string path)
 {
     Assert.True(GameDetailsModelToXmlSerializer.CheckIfPathIsValid(path));
 }
Example #2
0
 public void CheckIfPathIsValid_ShouldFailIfPathEmpty()
 {
     Assert.Throws <ArgumentException>("path", () => GameDetailsModelToXmlSerializer.CheckIfPathIsValid(""));
 }