1 package org.openecomp.sdc.be.dao.cassandra.schema.tables;
6 import org.apache.commons.lang3.tuple.ImmutablePair;
9 import com.datastax.driver.core.DataType;
11 public class EcompOperationalEnvironmentEventTableDescTest {
13 private EcompOperationalEnvironmentEventTableDesc createTestSubject() {
14 return new EcompOperationalEnvironmentEventTableDesc();
18 public void testPrimaryKeys() throws Exception {
19 EcompOperationalEnvironmentEventTableDesc testSubject;
20 List<ImmutablePair<String, DataType>> result;
23 testSubject = createTestSubject();
24 result = testSubject.primaryKeys();
28 public void testClusteringKeys() throws Exception {
29 EcompOperationalEnvironmentEventTableDesc testSubject;
30 List<ImmutablePair<String, DataType>> result;
33 testSubject = createTestSubject();
34 result = testSubject.clusteringKeys();
38 public void testGetKeyspace() throws Exception {
39 EcompOperationalEnvironmentEventTableDesc testSubject;
43 testSubject = createTestSubject();
44 result = testSubject.getKeyspace();
48 public void testGetColumnDescription() throws Exception {
49 EcompOperationalEnvironmentEventTableDesc testSubject;
50 Map<String, ImmutablePair<DataType, Boolean>> result;
53 testSubject = createTestSubject();
54 result = testSubject.getColumnDescription();
58 public void testGetTableName() throws Exception {
59 EcompOperationalEnvironmentEventTableDesc testSubject;
63 testSubject = createTestSubject();
64 result = testSubject.getTableName();