const testServicePort … func newLocalAPIService(name string) *apiregistration.APIService { … } func newRemoteAPIService(name string) *apiregistration.APIService { … } func TestSync(t *testing.T) { … } func TestUpdateAPIServiceStatus(t *testing.T) { … }