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

Akira Ajisaka commented on HADOOP-14245:
----------------------------------------

bq. Also, I would consider removing MockitoMaker class and use the standard way 
to mock objects.
+1. Let's do this in a separate jira. Thanks.

> Use Mockito.when instead of Mockito.stub
> ----------------------------------------
>
>                 Key: HADOOP-14245
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14245
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: Xiaobing Zhou
>            Priority: Minor
>
> Mockito.stub was removed in Mockito 2. Mockito.when should be used instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to