1 package org.openecomp.sdc.asdctool.impl;
4 import org.openecomp.sdc.be.dao.cassandra.ArtifactCassandraDao;
5 import org.openecomp.sdc.be.dao.cassandra.AuditCassandraDao;
6 import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
7 import org.openecomp.sdc.be.dao.cassandra.SdcSchemaFilesCassandraDao;
9 public class EsToCassandraDataMigrationConfigTest {
11 private EsToCassandraDataMigrationConfig createTestSubject() {
12 return new EsToCassandraDataMigrationConfig();
16 public void testDataMigration() throws Exception {
17 EsToCassandraDataMigrationConfig testSubject;
21 testSubject = createTestSubject();
22 result = testSubject.dataMigration();
26 public void testArtifactCassandraDao() throws Exception {
27 EsToCassandraDataMigrationConfig testSubject;
28 ArtifactCassandraDao result;
31 testSubject = createTestSubject();
32 result = testSubject.artifactCassandraDao();
36 public void testAuditCassandraDao() throws Exception {
37 EsToCassandraDataMigrationConfig testSubject;
38 AuditCassandraDao result;
41 testSubject = createTestSubject();
42 result = testSubject.auditCassandraDao();
46 public void testCassandraClient() throws Exception {
47 EsToCassandraDataMigrationConfig testSubject;
48 CassandraClient result;
51 testSubject = createTestSubject();
52 result = testSubject.cassandraClient();
56 public void testSdcSchemaFilesCassandraDao() throws Exception {
57 EsToCassandraDataMigrationConfig testSubject;
58 SdcSchemaFilesCassandraDao result;
61 testSubject = createTestSubject();
62 result = testSubject.sdcSchemaFilesCassandraDao();