class DataSourcePreconditions {

    @NonNull
    public static DataSource checkProvider(@NonNull String providerName, @NonNull DataSource dataSource) throws IllegalArgumentException {
        checkProvider(providerName, dataSource.getProviderName());
        return dataSource;
    }

    private  DataSourcePreconditions();

}