You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: restapi_test.go
    path of file: ./repos/uniqush-push
    
    the code of the file until where you have to start completion: package main

import (
	"testing"

	"github.com/uniqush/uniqush-push/testutil"
)

// TestValidateSubscribers tests valid and invalid subscriber names
func TestValidateSubscribers(t *testing.T) {
	validName := "valid_subscriber.123-AZ@_"
	err := validateSubscribers([]string{validName})
	testutil.ExpectEquals(t, nil, err, "expected valid for "+validName)

	invalidName := "invalid subscriber.123"
	expectedError := `invalid subscriber name: "invalid subscriber.123". Accepted characters: a-z, A-Z, 0-9, -, _, @ or .`
	err = validateSubscribers([]string{invalidName})
	if err 
    
func TestValidateSubscribers(t *testing.T) {
	validName := "valid_subscriber.123-AZ@_"
	err := validateSubscribers([]string{validName})
	testutil.ExpectEquals(t, nil, err, "expected valid for "+validName)

	invalidName := "invalid subscriber.123"
	expectedError := `invalid subscriber name: "invalid subscriber.123". Accepted characters: a-z, A-Z, 0-9, -, _, @ or .`
	err = validateSubscribers([]string{invalidName})
	if err == nil {
		t.Errorf("Expected error for " + invalidName)
	} else {
		testutil.ExpectEquals(t, expectedError, err.Error(), "unexpected error message")
	}

	err = validateSubscribers([]string{validName, invalidName})
	if err == nil {
		t.Errorf("Expected error for " + invalidName)
	} else {
		testutil.ExpectEquals(t, expectedError, err.Error(), "unexpected error message")
	}
}