func GetEnumeratorForTest(svc, cluster, sdb, table, inputType string) (Enumerator, error) {
	log.Infof("Fetching enumerator for tests: svc %v, db %v, table %v inputType %v", svc, sdb, table,
		inputType)
	loc := &Loc{
		Cluster: cluster,
		Service: svc,
		Name:    sdb,
	}
	return &BuiltinEnumerator{data: []*Loc{loc}, current: -1}, nil
}
GetEnumeratorForTest return db location info enumerator used by tests
package db
import (
	"encoding/json"
	"fmt"
	"net/http"
	"net/http/httptest"
	"github.com/uber/storagetapper/log"
	"github.com/uber/storagetapper/types"
)
func GetConnInfoForTest(dbl *Loc, connType ConnectionType, inputType string) (*Addr, error) {
	log.Infof("Fetching connection info for tests: DB %v, connType %v, inputType %v", dbl.Name, connType, inputType)
	if dbl.Cluster == "please_return_nil_db_addr" {
		return nil, fmt.Errorf("here_you_are")
	}
	return &Addr{
		Host: "localhost",
		Port: 3306,
		User: types.TestMySQLUser,
		Pwd:  types.TestMySQLPassword,
		DB:   dbl.Name,
	}, nil
}