@Test
  public void testParseJavaOptionsIgnoresNonStandardOptions() {
    Map<String, String> options1 = Utils.parseJavaOptions("-Dfoo=bar -XX:+UseCompressedOops -XX:MaxPermSize=512m -Dfoo2=bar2");
    assertEquals(2, options1.size());
    assertEquals("bar", options1.get("foo"));
    assertEquals("bar2", options1.get("foo2"));
  }
This class tests the Utils class
test/com/linkedin/drelephant/util/UtilsTest.java