added test for default config
This commit is contained in:
parent
6a9a933d48
commit
3368b9480b
@ -117,6 +117,12 @@ public class TbSaveToCustomCassandraTableNodeTest {
|
||||
node.destroy();
|
||||
}
|
||||
|
||||
@Test
|
||||
void verifyDefaultConfig() {
|
||||
assertThat(config.getTableName()).isEqualTo("");
|
||||
assertThat(config.getFieldsMapping()).isEqualTo(Map.of("", ""));
|
||||
}
|
||||
|
||||
@Test
|
||||
void givenCassandraClusterIsMissing_whenInit_thenThrowsException() {
|
||||
var configuration = new TbNodeConfiguration(JacksonUtil.valueToTree(config));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user