[
https://issues.apache.org/jira/browse/KNOX-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634064#comment-16634064
]
Kevin Risden commented on KNOX-1479:
------------------------------------
New patch since EasyMock requires EasyMock.replay before a mocked class is used
and methods that are reused need to be specified that this is allowed with
.anyTimes().
> Replace Mockito usage with EasyMock
> -----------------------------------
>
> Key: KNOX-1479
> URL: https://issues.apache.org/jira/browse/KNOX-1479
> Project: Apache Knox
> Issue Type: Improvement
> Components: Tests
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 1.2.0
>
> Attachments: KNOX-1479.patch, KNOX-1479.patch
>
>
> It seems like EasyMock is used for most tests. There are two modules with
> Mockito (gateway-provider-security-preauth and
> gateway-provider-security-pac4j). It looks like most of the tests can easily
> be moved to use EasyMock instead of Mockito. This would then remove the
> dependency on Mockito.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)