diff options
Diffstat (limited to 'catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/EcompOperationalEnvironmentEventTableDescTest.java')
-rw-r--r-- | catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/EcompOperationalEnvironmentEventTableDescTest.java | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/EcompOperationalEnvironmentEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/EcompOperationalEnvironmentEventTableDescTest.java new file mode 100644 index 0000000000..906ee885a4 --- /dev/null +++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/EcompOperationalEnvironmentEventTableDescTest.java @@ -0,0 +1,66 @@ +package org.openecomp.sdc.be.dao.cassandra.schema.tables; + +import java.util.List; +import java.util.Map; + +import org.apache.commons.lang3.tuple.ImmutablePair; +import org.junit.Test; + +import com.datastax.driver.core.DataType; + +public class EcompOperationalEnvironmentEventTableDescTest { + + private EcompOperationalEnvironmentEventTableDesc createTestSubject() { + return new EcompOperationalEnvironmentEventTableDesc(); + } + + @Test + public void testPrimaryKeys() throws Exception { + EcompOperationalEnvironmentEventTableDesc testSubject; + List<ImmutablePair<String, DataType>> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.primaryKeys(); + } + + @Test + public void testClusteringKeys() throws Exception { + EcompOperationalEnvironmentEventTableDesc testSubject; + List<ImmutablePair<String, DataType>> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.clusteringKeys(); + } + + @Test + public void testGetKeyspace() throws Exception { + EcompOperationalEnvironmentEventTableDesc testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getKeyspace(); + } + + @Test + public void testGetColumnDescription() throws Exception { + EcompOperationalEnvironmentEventTableDesc testSubject; + Map<String, ImmutablePair<DataType, Boolean>> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getColumnDescription(); + } + + @Test + public void testGetTableName() throws Exception { + EcompOperationalEnvironmentEventTableDesc testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getTableName(); + } +}
\ No newline at end of file |