google / gwtmockito

Better GWT unit testing
https://google.github.io/gwtmockito
Apache License 2.0
157 stars 51 forks source link

getting GwtMockitoTestRunner$FailedCastException in DateBox #60

Open uxana-lab opened 8 years ago

uxana-lab commented 8 years ago

To create a DateRange widget we are extending gwt DateBox but when I try to test the class that uses it I am getting this exception. I see that you fixed it for DatePicker but I wonder if it is also fixed for DateBox as I am still getting this error.

ekuefler commented 8 years ago

Which methods are you calling to trigger the error, and are you on the latest version of GwtMockito? I wrote a test to try instantiating DateBox in 1.1.6 and it seemed to work alright.