1 package org.openecomp.sdc.be.dao.cassandra.schema.tables;
6 import javax.annotation.Generated;
8 import org.apache.commons.lang3.tuple.ImmutablePair;
11 import com.datastax.driver.core.DataType;
14 public class CategoryEventTableDescriptionTest {
16 private CategoryEventTableDescription createTestSubject() {
17 return new CategoryEventTableDescription();
22 public void testPrimaryKeys() throws Exception {
23 CategoryEventTableDescription testSubject;
24 List<ImmutablePair<String, DataType>> result;
27 testSubject = createTestSubject();
28 result = testSubject.primaryKeys();
33 public void testClusteringKeys() throws Exception {
34 CategoryEventTableDescription testSubject;
35 List<ImmutablePair<String, DataType>> result;
38 testSubject = createTestSubject();
39 result = testSubject.clusteringKeys();
46 public void testGetKeyspace() throws Exception {
47 CategoryEventTableDescription testSubject;
51 testSubject = createTestSubject();
52 result = testSubject.getKeyspace();
57 public void testGetTableName() throws Exception {
58 CategoryEventTableDescription testSubject;
62 testSubject = createTestSubject();
63 result = testSubject.getTableName();