google / truth

Fluent assertions for Java and Android
https://truth.dev/
Apache License 2.0
2.73k stars 259 forks source link

Make more Subject types subclassable #577

Open cpovirk opened 5 years ago

cpovirk commented 5 years ago

We'll probably do this on demand for now, but maybe we should be more proactive.

cpovirk commented 5 years ago

One interesting case: StreamSubject (and int and long versions). A subclass would likely want access to the stream elements, which StreamSubject itself needs to slurp up. We'd probably want to make those available.