@Test
public void testParseBoolean() {

    assertEquals(true, ZTSUtils.parseBoolean(null, true));
    assertEquals(false, ZTSUtils.parseBoolean(null, false));
    assertEquals(true, ZTSUtils.parseBoolean("", true));
    assertEquals(false, ZTSUtils.parseBoolean("", false));
    assertEquals(true, ZTSUtils.parseBoolean("true", false));
    assertEquals(false, ZTSUtils.parseBoolean("false", true));
    assertEquals(false, ZTSUtils.parseBoolean("unknown", false));
}