hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14245) Use Mockito.when instead of Mockito.stub
Date Mon, 31 Jul 2017 17:03:00 GMT

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

Andras Bokor commented on HADOOP-14245:
---------------------------------------

Thank, I do not know how could I miss it...

> 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: Andras Bokor
>            Priority: Minor
>         Attachments: HADOOP-14245.01.patch, HADOOP-14245.02.patch
>
>
> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message