public void LoadTextFile_ValidNameShouldWork() { // Act string actual = ExampleMethods.LoadTextFile("this is a valid file path"); // Assert Assert.True(actual.Length >= 10); }
public void LoadTextFile_InvalidArgumentShouldThrowException() { // Assert Assert.Throws <ArgumentException>("filePath", () => ExampleMethods.LoadTextFile("")); }