Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Hi, you should look at the matcher 'isA'.
Unfortunately this isn't gonna happen soon, the javadoc has been updated to
document there is no type checks there.
I remember having this discussion in another issue. Not sure when and which
issue though.
Cheers,
Brice
Original comment by brice.du...@gmail.com
on 20 Aug 2012 at 1:22
Original comment by brice.du...@gmail.com
on 6 Sep 2012 at 3:43
I think we need to do it. Many people use this matcher and think it's doing
something else than it's actually doing :) Let's introduce this breaking change
in 2.0.
Original comment by szcze...@gmail.com
on 18 Sep 2012 at 9:02
ok then, we should replace it by
reportMatcher(new InstanceOf(clazz)).<T>returnFor(clazz);
However I'm wondering if you should introduce type checks for the other methods
of the any.* family (but any()/anyObject) ? For example 'anyString' is using
the 'Any' matcher.
Original comment by brice.du...@gmail.com
on 19 Sep 2012 at 2:09
Good point. We should.
Original comment by szcze...@gmail.com
on 20 Sep 2012 at 6:23
Original comment by brice.du...@gmail.com
on 27 Sep 2012 at 2:26
yay!
Original comment by kandpwel...@gmail.com
on 31 Oct 2012 at 7:57
Original issue reported on code.google.com by
Alexande...@gmail.com
on 15 Aug 2012 at 4:13