PrimaryReplicaReplicationRuleConfigurationYamlSwapper implements YamlRuleConfigurationSwapper<YamlPrimaryReplicaReplicationRuleConfiguration, PrimaryReplicaReplicationRuleConfiguration> { @Override public Class<PrimaryReplicaReplicationRuleConfiguration> getTypeClass() { return PrimaryReplicaReplicationRuleConfiguration.class; }  @Override YamlPrimaryReplicaReplicationRuleConfiguration swapToYamlConfiguration(final PrimaryReplicaReplicationRuleConfiguration data); @Override PrimaryReplicaReplicationRuleConfiguration swapToObject(final YamlPrimaryReplicaReplicationRuleConfiguration yamlConfig); @Override Class<PrimaryReplicaReplicationRuleConfiguration> getTypeClass(); @Override String getRuleTagName(); @Override int getOrder();  }
@Test public void assertGetTypeClass() { PrimaryReplicaReplicationRuleConfigurationYamlSwapper swapper = getPrimaryReplicaReplicationRuleConfigurationYamlSwapper(); Class<PrimaryReplicaReplicationRuleConfiguration> actual = swapper.getTypeClass(); assertTrue(actual.isAssignableFrom(PrimaryReplicaReplicationRuleConfiguration.class)); }