google/truth — pull request #149 by benjamin-bader (2014-11-07 08:17:51+00:00)
Title: Make AbstractArraySubject compatible with SubjectFactory

Change the supertype of AbstractArraySubject to Subject.
This enables deriving classes to the be used with SubjectFactory.

The old supertype (`Subject, T>`) was not
compatible; for example, attempting to instantiate a
`SubjectFactory` would be a
compile-time error due to SubjectFactory's generic constraints.

I'm not thrilled with the accompanying test; it's not clear to me how
(or whether) compile-time facts should be verified in a test suite. I'd love
to hear thoughts or ideas about that, if anyone has them.