public void GetPath_throws_InvalidOperationException() { Action callCreateQuery = () => _fetcher.GetPath(Any.String()); callCreateQuery.ShouldThrow <InvalidOperationException>(); }
public void When_Property_is_null_GetPath_returns_initialized_path() { _fetcher.GetPath(null) .Should().Be(_path); }