package serializer

import "testing"

func TestSynInvitationCode(t *testing.T) {
	type args struct {
		userId uint
	}
	tests := []struct {
		name    string
		args    args
		want    string
		wantErr bool
	}{
		// TODO: Add test cases.
		{name: "1", args: struct{ userId uint }{userId: 1964}, want: "", wantErr: true},
		{name: "1", args: struct{ userId uint }{userId: 1978}, want: "", wantErr: true},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			got, err := SynInvitationCode(tt.args.userId)
			if (err != nil) != tt.wantErr {
				t.Errorf("SynInvitationCode() error = %v, wantErr %v", err, tt.wantErr)
				return
			}
			if got != tt.want {
				t.Errorf("SynInvitationCode() got = %v, want %v", got, tt.want)
			}
		})
	}
}