use of io.shardingjdbc.orchestration.internal.json.fixture.TestHintShardingAlgorithm in project sharding-jdbc by shardingjdbc.
the class ShardingRuleConfigurationConverterTest method assertToJsonForHintStrategy.
@Test
public void assertToJsonForHintStrategy() {
HintShardingStrategyConfiguration actual = new HintShardingStrategyConfiguration(new TestHintShardingAlgorithm());
assertThat(ShardingRuleConfigurationConverter.toJson(getCommonShardingRuleConfig(actual)), is(getJsonForHintStrategy()));
}
Aggregations