Add OptionalSubject.hasValueThat() (which returns a Subject)
Open
P3
type=addition
- Dominant language
- Java
- Stars
- 2.8k
- Forks
- 275
- Avg merge
- 7m
- Merged PRs (30d)
- 4
Description
Would it be possible to add something similary to Subject.isSameAs to the OptionalSubject? In my api I have been switching methods to return Optional and I'm noticing that some of the asserts would be much easier if OptionalSubject had a method like isSameAs. It should assert that the value is the same instance as another value.
Contributor guide
Assessment
This issue has not been assessed yet.