[ 
https://issues.apache.org/jira/browse/RANGER-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499991#comment-17499991
 ] 

kirby zhou commented on RANGER-2095:
------------------------------------

Even the 2 class member is invalid usage of @Mock.

currentUserSession and vXResponse is not member of RangerBizUtil, and can not 
be injected.

 
{code:java}
@Mock
UserSessionBase currentUserSession;
@Mock
VXResponse vXResponse; {code}

> Add unit tests for new read only admin-auditor/kms-auditor roles functionality
> ------------------------------------------------------------------------------
>
>                 Key: RANGER-2095
>                 URL: https://issues.apache.org/jira/browse/RANGER-2095
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Bhavik Patel
>            Assignee: Bhavik Patel
>            Priority: Critical
>             Fix For: 1.1.0
>
>         Attachments: RANGER-2095-master.patch
>
>
> Add unit tests for new read only admin-auditor/kms-auditor roles functionality



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to