@Test
public void testSplitByFirstLineFeed() {

    assertEquals(new Pair("", ""),
            StringUtils.splitByFirstLineFeed(null));
    assertEquals(new Pair("foo", ""),
            StringUtils.splitByFirstLineFeed("foo"));
    assertEquals(new Pair("foo", "bar"),
            StringUtils.splitByFirstLineFeed("foo\nbar"));
}