@Test
public void assertGetExecuteUnitGroupForOneShardMemoryStrictly() throws SQLException {

    mockConnections(callback, ConnectionMode.MEMORY_STRICTLY, 1);
    sqlExecutePrepareTemplate = new SQLExecutePrepareTemplate(2);
    Collection<ShardingExecuteGroup<StatementExecuteUnit>> actual = sqlExecutePrepareTemplate.getExecuteUnitGroups(mockShardRouteUnit(1, 1), callback);
    assertThat(actual.size(), is(1));
    for (ShardingExecuteGroup<StatementExecuteUnit> each : actual) {
        assertThat(each.getInputs().size(), is(1));
    }
}