[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870653#action_12870653
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-941:
----------------------------------------------

As far as I know Mockito started out as a fork of EasyMock. Both frameworks 
share a lot in common due to that. I find Mockito slightly nicer as it 
eliminates those pesky replay / verify calls.

http://code.google.com/p/mockito/wiki/MockitoVSEasyMock 

Oleg

> Standardize on a common mocking framework (either EasyMock or Mockito)
> ----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-941
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-941
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache, HttpAuth
>            Reporter: Oleg Kalnichevski
>             Fix For: 4.1 Alpha3
>
>         Attachments: Convert_httpclient_from_Mockito_to_EasyMock_.patch
>
>
> We are currently using EasyMock in the caching module and Mockito in the main 
> module. While Mockito appears to have a somewhat nicer API, the sheer number 
> of test cases based on EasyMock in the caching module makes it much simpler 
> to replace Mockito with EasyMock than the other way around.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to