title: Compilation error while testing BiConsumer
body: <p>I have written below method which accept <code>BiConsumer&lt;Object, Object&gt;</code>, when I pass the method reference of method <code>testBiConsumer(String a, String b)</code> I am getting a compilation error stating:</p>
  
  <pre><code>Multiple markers at this line
      - The method biConsumerTest(String, String, BiConsumer&lt;Object,Object&gt;) in the type Test is not applicable for the arguments (String, String, 
       Test::testBiConsumer)
      - The type Test does not define testBiConsumer(Object, Object) that is applicable here
  </code></pre>
  
  <p>If I change BiConsumer from <code>BiConsumer&lt;Object, Object&gt;</code> to <code>BiConsumer&lt;String , String &gt;</code> it works just fine.</p>
  
  <p>How do I make below code work? I want <code>public static void biConsumerTest(String a, String b, BiConsumer&lt;String, String&gt; biConsumer)</code> to be generic.</p>
  
  <pre><code>public class Test {
          public static void main(String[] args){
              Test.biConsumerTest("A", "B", Test::testBiConsumer);
          }
  
          public static void biConsumerTest(String a, String b, BiConsumer&lt;Object, Object&gt; biConsumer){
              biConsumer.accept(a, b);
          }
  
          public static void testBiConsumer(String a, String b) {
              System.out.println(a);
              System.out.println(b);
          }
      }
  </code></pre>