Closed GoogleCodeExporter closed 8 years ago
Anybody here?
:(
Original comment by Groostav
on 17 Jun 2014 at 8:50
If you look at
<http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Labeled.html#se
tText-java.lang.String->, you'll see that "setText()" is a final method.
Mockito can't do anything with final methods. It would be nice if it would SAY
that, but that's the situation. You'll have to either compromise on your test,
or use PowerMock.
Original comment by davidmic...@gmail.com
on 17 Jun 2014 at 9:10
Ohh of course, I'm sorry I didn't think to consider that.
Thanks, and sorry for wasting your time
Original comment by bettyt...@gmail.com
on 19 Jun 2014 at 6:07
Thanks David for watching the issues.
Original comment by brice.du...@gmail.com
on 27 Jun 2014 at 3:07
Original issue reported on code.google.com by
Groostav
on 9 Jun 2014 at 11:40