title: "Invalid use of argument matchers" but I use matchers only
body: <p>I get the error message:</p>
  
  <blockquote>
    <p>org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
    Invalid use of argument matchers!
    0 matchers expected, 1 recorded:
    -> at *.SegmentExportingTest.happyDay(SegmentExportingTest.java:37)
    This exception may occur if matchers are combined with raw values:
        //incorrect:
        someMethod(anyObject(), "raw String");
    When using matchers, all arguments have to be provided by matchers.
    For example:
    //correct:
        someMethod(anyObject(), eq("String by matcher"));</p>
  </blockquote>
  
  <p>but in reality I use only matchers in arguments of the method.</p>
  
  <p>The next code is a source of the error above.</p>
  
  <pre><code>ConfigReader configReader = mock(ConfigReader.class);
      when(configReader.getSparkConfig())
              .thenReturn(new SparkConf().setMaster("local[2]").setAppName("app"));
      when(configReader.getHBaseConfiguration()).thenReturn(new Configuration());
  
      SparkProfilesReader sparkProfilesReader = mock(SparkProfilesReader.class);
      ProfileSegmentExporter profileSegmentExporter = mock(ProfileSegmentExporter.class);
  
      //--
      new SegmentExporting().process(configReader, sparkProfilesReader, profileSegmentExporter);
      //--
  
      InOrder inOrder = inOrder(sparkProfilesReader, profileSegmentExporter);
      inOrder.verify(sparkProfilesReader).readProfiles(any(JavaSparkContext.class),
              refEq(configReader.getHBaseConfiguration()));
  </code></pre>