@Test
public void testDeleteSystemMetaAllowed() {

    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, null, (String) null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, null, (Integer) null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, null, "new"));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, null, ""));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, "old", null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, "old", "new"));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, "old", ""));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, "", null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, "", "new"));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, "", ""));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, null, (String) null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, null, (Integer) null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, null, "new"));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, null, ""));
    assertFalse(zms.dbService.isDeleteSystemMetaAllowed(false, "old", null));
    assertFalse(zms.dbService.isDeleteSystemMetaAllowed(false, "old", "new"));
    assertFalse(zms.dbService.isDeleteSystemMetaAllowed(false, "old", ""));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, "", null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, "", "new"));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, "", ""));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, "test", "test"));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, 0, 0));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, 5, 5));
    assertFalse(zms.dbService.isDeleteSystemMetaAllowed(false, 5, null));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(false, 0, 5));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, 5, 5));
    assertTrue(zms.dbService.isDeleteSystemMetaAllowed(true, 5, 0));
}