public String getWriteDataSource() {
        return readwriteSplittingGroup.getWriteDataSource();
    }
@Test
    void assertGetWriteDataSource() {
        ReadwriteSplittingDataSourceGroupRule dataSourceGroupRule = new ReadwriteSplittingDataSourceGroupRule(
                new ReadwriteSplittingDataSourceGroupRuleConfiguration("test_pr", "write_ds", Arrays.asList("read_ds_0", "read_ds_1"), TransactionalReadQueryStrategy.DYNAMIC, null),
                TransactionalReadQueryStrategy.DYNAMIC, new RandomLoadBalanceAlgorithm());
        String writeDataSourceName = dataSourceGroupRule.getWriteDataSource();
        assertThat(writeDataSourceName, is("write_ds"));
    }