1 package org.openecomp.sdc.be.dao.cassandra.schema.tables;
3 import com.datastax.driver.core.DataType;
4 import org.apache.commons.lang3.tuple.ImmutablePair;
10 public class EcompOperationalEnvironmentEventTableDescTest {
12 private EcompOperationalEnvironmentEventTableDesc createTestSubject() {
13 return new EcompOperationalEnvironmentEventTableDesc();
17 public void testPrimaryKeys() throws Exception {
18 EcompOperationalEnvironmentEventTableDesc testSubject;
19 List<ImmutablePair<String, DataType>> result;
22 testSubject = createTestSubject();
23 result = testSubject.primaryKeys();
27 public void testClusteringKeys() throws Exception {
28 EcompOperationalEnvironmentEventTableDesc testSubject;
29 List<ImmutablePair<String, DataType>> result;
32 testSubject = createTestSubject();
33 result = testSubject.clusteringKeys();
37 public void testGetKeyspace() throws Exception {
38 EcompOperationalEnvironmentEventTableDesc testSubject;
42 testSubject = createTestSubject();
43 result = testSubject.getKeyspace();
47 public void testGetColumnDescription() throws Exception {
48 EcompOperationalEnvironmentEventTableDesc testSubject;
49 Map<String, ImmutablePair<DataType, Boolean>> result;
52 testSubject = createTestSubject();
53 result = testSubject.getColumnDescription();
57 public void testGetTableName() throws Exception {
58 EcompOperationalEnvironmentEventTableDesc testSubject;
62 testSubject = createTestSubject();
63 result = testSubject.getTableName();