-
Notifications
You must be signed in to change notification settings - Fork 268
Description
It seems like Subject itself serves the purpose. Well, OK, I guess that we need some values to plug in for the type parameters (Object and... what?), but this is the same problem we have with IterableSubject, and we get by there OK with our unchecked+rawtypes create method, so this is a problem that we already have and have already solved. Or we can eliminate the problem by eliminating the type parameter (#202).
(If DefaultSubject needs to stick around, should it be ObjectSubject for consistency with other subjects?)
(I tagged this as a blocker of Release 1.0, even though it's maybe not technically SPI, on the theory that writers of custom assertThat methods are likely to use DefaultSubject, just as they're likely to use true SPI. I'm not sure whether I buy my own logic here or not.)