@Test
public void testIsShardByTable() {

    AbstractShardingStrategy test = new TestShardingStrategy();
    assertFalse(test.isShardByTable());
    
    test.setShardByTable(true);
    assertTrue(test.isShardByTable());
}