use of io.shardingjdbc.core.routing.strategy.none.NoneShardingStrategy in project sharding-jdbc by shardingjdbc.
the class ShardingStrategyTest method assertDoShardingWithoutShardingColumns.
@Test
public void assertDoShardingWithoutShardingColumns() {
NoneShardingStrategy strategy = new NoneShardingStrategy();
assertThat(strategy.doSharding(targets, Collections.<ShardingValue>emptySet()), is(targets));
}
Aggregations