package broker import ( "local/storage" "testing" ) func TestDoCookies(t *testing.T) { // func _setCookies(db storage.DB, host string, cookies []*http.Cookie) error { // func _getCookies(db storage.DB, host string) cookies, error { db := storage.NewMap() host := "host" if cookies, err := _getCookies(db, host); err == nil { t.Fatal(err) } else if len(cookies) != 0 { t.Fatal(cookies) } t.Fatal("not impl") }