private fields in node
This commit is contained in:
parent
d5fd311c75
commit
0912d0685f
@ -46,9 +46,9 @@ import java.util.concurrent.ExecutionException;
|
||||
)
|
||||
public class TbRenameKeysNode implements TbNode {
|
||||
|
||||
TbRenameKeysNodeConfiguration config;
|
||||
Map<String, String> renameKeysMapping;
|
||||
boolean fromMetadata;
|
||||
private TbRenameKeysNodeConfiguration config;
|
||||
private Map<String, String> renameKeysMapping;
|
||||
private boolean fromMetadata;
|
||||
|
||||
@Override
|
||||
public void init(TbContext ctx, TbNodeConfiguration configuration) throws TbNodeException {
|
||||
|
||||
@ -66,11 +66,6 @@ public class TbRenameKeysNodeTest {
|
||||
node.destroy();
|
||||
}
|
||||
|
||||
@Test
|
||||
void givenDefaultConfig_whenInit_thenOK() {
|
||||
assertThat(node.config).isEqualTo(config);
|
||||
}
|
||||
|
||||
@Test
|
||||
void givenDefaultConfig_whenVerify_thenOK() {
|
||||
TbRenameKeysNodeConfiguration defaultConfig = new TbRenameKeysNodeConfiguration().defaultConfiguration();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user