summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/migration/v1707/CommonMigrationUtils.java
blob: e142e4caa3aaaea915cb0ea79aea45d8509f1057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.openecomp.sdc.ci.tests.migration.v1707;

import com.thinkaurelius.titan.core.TitanGraph;

import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertNull;

public class CommonMigrationUtils {

    public static void assertKeyNotExist(TitanGraph graph, String key) {
        assertNull(graph.getPropertyKey(key));
    }

    public static void assertKeyExists(TitanGraph graph, String key) {
        assertNotNull(graph.getPropertyKey(key));
    }


}