private ThrowsException_WhenPathIsNotAbsolute ( ) : void | ||
Résultat | void |
public void ThrowsException_WhenPathIsNotAbsolute()
{
Action action = () => new AbsolutePath(@"..\folder\");
action.ShouldThrow<ArgumentException>();
}