I wouldn't agree that traits are easier to mock with... 

On 03/07/2013, at 10:42 PM, Will Sargent <notifications@github.com> wrote:

> In framework/src/play/src/main/scala/play/api/libs/ws/WS.scala:
> 
> > @@ -481,6 +482,58 @@ object WS {
> >  }
> >  
> >  /**
> > + * A WS Cookie.
> > + */
> > +class Cookie(val ahcCookie: AHCCookie) {
> I don't know how much of a practical issue this is, but the reason I tend to prefer traits over abstract base classes is that it's easier to use a mocking framework with traits than it is with classes.
> 
> See the issue in the comment thread here: http://stackoverflow.com/questions/1087339/using-mockito-to-test-abstract-classes
> 
> —
> Reply to this email directly or view it on GitHub.