Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14245

Use Mockito.when instead of Mockito.stub

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Mockito.stub was removed in Mockito 2. Mockito.when should be used instead.

        Attachments

        1. HADOOP-14245.02.patch
          5 kB
          Andras Bokor
        2. HADOOP-14245.01.patch
          5 kB
          Andras Bokor

          Issue Links

            Activity

              People

              • Assignee:
                boky01 Andras Bokor
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: