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 ArtifactTableDescriptionTest {
16 private ArtifactTableDescription createTestSubject() {
17 return new ArtifactTableDescription();
22 public void testPrimaryKeys() throws Exception {
23 ArtifactTableDescription testSubject;
24 List<ImmutablePair<String, DataType>> result;
27 testSubject = createTestSubject();
28 result = testSubject.primaryKeys();
33 public void testGetColumnDescription() throws Exception {
34 ArtifactTableDescription testSubject;
35 Map<String, ImmutablePair<DataType, Boolean>> result;
38 testSubject = createTestSubject();
39 result = testSubject.getColumnDescription();
44 public void testGetKeyspace() throws Exception {
45 ArtifactTableDescription testSubject;
49 testSubject = createTestSubject();
50 result = testSubject.getKeyspace();
55 public void testGetTableName() throws Exception {
56 ArtifactTableDescription testSubject;
60 testSubject = createTestSubject();
61 result = testSubject.getTableName();
66 public void testClusteringKeys() throws Exception {
67 ArtifactTableDescription testSubject;
68 List<ImmutablePair<String, DataType>> result;
71 testSubject = createTestSubject();
72 result = testSubject.clusteringKeys();