@Test
  public void testFormatStringOrNull() {
    assertEquals("Hello world!", Utils.formatStringOrNull("%s %s!", "Hello", "world"));
    assertEquals(null, Utils.formatStringOrNull("%s %s!", "Hello", null));
  }
This class tests the Utils class
test/com/linkedin/drelephant/util/UtilsTest.java