PrimaryReplicaReplicationRuleAlgorithmProviderConfigurationYamlSwapper implements YamlRuleConfigurationSwapper<YamlPrimaryReplicaReplicationRuleConfiguration, AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration> { @Override public Class<AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration> getTypeClass() { return AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration.class; }  @Override YamlPrimaryReplicaReplicationRuleConfiguration swapToYamlConfiguration(final AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration data); @Override AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration swapToObject(final YamlPrimaryReplicaReplicationRuleConfiguration yamlConfig); @Override Class<AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration> getTypeClass(); @Override String getRuleTagName(); @Override int getOrder();  }
@Test public void assertGetTypeClass() { assertThat(swapper.getTypeClass(), equalTo(AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration.class)); }