fluentassertions / fluentassertions/fluentassertions.reactive
Request: .Should().PushAnySatisfying(..)
- Dominant language
- C#
- Stars
- 1
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Just started using FA.Reactive and it's awesome, great work!
I have a suggestion for an assertion similar to `SatisfyRespectively` for collection assertions: `PushAnySatisfying`
#### Use Case
I am looking for an occurrence of a particular element that satisfies some constraints. I don't care about the ordering, hence the `Any` of `PushAnySatisfying`.
Example usage:
```csharp
observable.Observe()
.Should()
.PushAnySatisfying(e => {
e.Property.Should().Be("value");
e.OtherProperty.Should().Be("other value");
});
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.