One solution could be to create an interface in your project around PlaceController and bind this interface on an inherited version of PlaceController. Then, inject the interface instead of the concrete implementation.
But there is certainly an easyier way of doing it... 2011/8/17 Nicolas Antoniazzi <[email protected]> > Yes, indeed, I did not realized this ! > That's a good question :) ! > > 2011/8/17 tanteanni <[email protected]> > >> thx i already use gin. but how to get a testable PlaceController - >> Placecontroller is a class not an interface? my only idea is to give null? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-web-toolkit/-/2rENUIKK3DwJ. >> >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
