public void ThrowsException_WhenPathIsNotAbsolute() { Action action = () => new AbsolutePath("..\folder\file.ext"); action.ShouldThrow<ArgumentException>(); }