use of com.sequenceiq.cloudbreak.structuredevent.event.RdsDetails in project cloudbreak by hortonworks.
the class RdsConfigToRdsDetailsConverterTest method testWhenSslModeInternal.
private void testWhenSslModeInternal(DatabaseType databaseType, DatabaseVendor vendor, RdsSslMode sslMode, String sslModeStringExpected) {
RDSConfig source = TestUtil.rdsConfig(databaseType, vendor);
source.setSslMode(sslMode);
RdsDetails result = underTest.convert(source);
assertThat(result).isNotNull();
assertThat(result.getSslMode()).isEqualTo(sslModeStringExpected);
}
Aggregations