RouteContext { public boolean isSingleRouting() { return 1 == routeUnits.size(); }  boolean isSingleRouting(); Collection<String> getActualDataSourceNames(); List<Set<String>> getActualTableNameGroups(final String actualDataSourceName, final Set<String> logicTableNames); Map<String, Set<String>> getDataSourceLogicTablesMap(final Collection<String> actualDataSourceNames); Optional<RouteMapper> findTableMapper(final String logicDataSourceName, final String actualTableName);  }
@Test public void assertIsSingleRouting() { assertTrue(singleRouteContext.isSingleRouting()); assertFalse(multiRouteContext.isSingleRouting()); }