func parseSelectorOrDie(s string) fields.Selector { … } // buildQueryValues is a convenience function for knowing if a namespace should be in a query param or not func buildQueryValues(query url.Values) url.Values { … } func buildLocation(resourcePath string, query url.Values) string { … } func TestListWatchesCanList(t *testing.T) { … } func TestListWatchesCanWatch(t *testing.T) { … }