@Test
public void testIsEmptyPatternsList() {

    String globStrings =
            "aaa.bbb.ccc.ddd, "
                    + "???.ddd, "
                    + "*.bbb.*.ddd, "
                    + "aaa.??, ";
    String systemProperty = "athenz.zts.notification_cert_fail_ignored_services_list";
    System.setProperty(systemProperty, globStrings);
    GlobStringsMatcher globStringsMatcher = new GlobStringsMatcher(systemProperty);
    assertFalse(globStringsMatcher.isEmptyPatternsList());
    System.setProperty(systemProperty, "");
    globStringsMatcher = new GlobStringsMatcher(systemProperty);
    assertTrue(globStringsMatcher.isEmptyPatternsList());
    globStringsMatcher = new GlobStringsMatcher("some.other.property");
    assertTrue(globStringsMatcher.isEmptyPatternsList());
    System.clearProperty(systemProperty);
}