title: Trying to create method which returns multiple strings from a string[]
body: <p>I need to create a method which searches the String array for instances of "string1" and "string2" then capitalizes them.</p>
  
  <p>Below is a test for that method.</p>
  
  <p>The lesson is about streams and lambdas. I had already created similar methods for 8 previous tests, but for this one I got no idea to go with.</p>
  
  <pre><code>@Test
  public void testMap() throws Exception {
      String[] sentence = "A long sentence of strings. string1 is repeated twice and so is a string2...".split("\\.");
      assertEquals("[STRING1, STRING1, STRING2, STRING2]", ClassWithMethods.getString1andString2(sentence).toString());
  
  }
  </code></pre>