PrimaryReplicaReplicationRuleAlgorithmProviderConfigurationYamlSwapper implements YamlRuleConfigurationSwapper<YamlPrimaryReplicaReplicationRuleConfiguration, AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration> { @Override public int getOrder() { return PrimaryReplicaReplicationOrder.ALGORITHM_PROVIDER_ORDER; }  @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 assertGetOrder() { assertThat(swapper.getOrder(), is(PrimaryReplicaReplicationOrder.ALGORITHM_PROVIDER_ORDER)); }