@Test
public void containsWithStringArray() {

    Assert.assertEquals(false, StringUtil.contains(null, ""));
    Assert.assertEquals(false, StringUtil.contains(null, null));
    String[] strings = { "a", null };
    Assert.assertEquals(false, StringUtil.contains(strings, ""));
    Assert.assertEquals(false, StringUtil.contains(strings, "b"));
    Assert.assertEquals(true, StringUtil.contains(strings, "a"));
    Assert.assertEquals(true, StringUtil.contains(strings, null));
    String[] strings1 = { "FirstName", "LastName" };
    Assert.assertEquals(true, StringUtil.contains(strings1, "FirstName"));
    Assert.assertEquals(true, StringUtil.contains(strings1, "LastName"));
}