1 package org.openecomp.sdc.be.dao.cassandra.schema.tables;
5 import org.apache.commons.lang3.tuple.ImmutablePair;
8 import com.datastax.driver.core.DataType;
11 public class CategoryEventTableDescriptionTest {
13 private CategoryEventTableDescription createTestSubject() {
14 return new CategoryEventTableDescription();
19 public void testPrimaryKeys() throws Exception {
20 CategoryEventTableDescription testSubject;
21 List<ImmutablePair<String, DataType>> result;
24 testSubject = createTestSubject();
25 result = testSubject.primaryKeys();
30 public void testClusteringKeys() throws Exception {
31 CategoryEventTableDescription testSubject;
32 List<ImmutablePair<String, DataType>> result;
35 testSubject = createTestSubject();
36 result = testSubject.clusteringKeys();
43 public void testGetKeyspace() throws Exception {
44 CategoryEventTableDescription testSubject;
48 testSubject = createTestSubject();
49 result = testSubject.getKeyspace();
54 public void testGetTableName() throws Exception {
55 CategoryEventTableDescription testSubject;
59 testSubject = createTestSubject();
60 result = testSubject.getTableName();