@Override
    public String toString(final RouteUnit routeUnit) {
        String quotedIndexName = identifier.getQuoteCharacter().wrap(getIndexValue(routeUnit));
        return isGeneratedIndex() ? " " + quotedIndexName + " " : quotedIndexName;
    }
@Test
    void assertToString() {
        IndexToken indexToken = new IndexToken(0, 0, new IdentifierValue("t_order_index"),
                mock(SQLStatementContext.class, withSettings().extraInterfaces(TableAvailable.class).defaultAnswer(RETURNS_DEEP_STUBS)), mock(ShardingRule.class), mock(ShardingSphereSchema.class));
        RouteUnit routeUnit = mock(RouteUnit.class);
        when(routeUnit.getTableMappers()).thenReturn(Collections.singletonList(new RouteMapper("t_order", "t_order_0")));
        when(routeUnit.getDataSourceMapper()).thenReturn(new RouteMapper(DefaultDatabase.LOGIC_NAME, "ds_0"));
        assertThat(indexToken.toString(routeUnit), is("t_order_index_t_order_0"));
    }