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: EncryptData_test.go
    path of file: ./repos/aws-doc-sdk-examples/go/kms/EncryptData
    
    the code of the file until where you have to start completion: // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0

package main

import (
    "errors"
    "testing"
    "time"

    "github.com/aws/aws-sdk-go/service/kms"
    "github.com/aws/aws-sdk-go/service/kms/kmsiface"
)

// Define a mock struct to use i
    
func TestEncryptData(t *testing.T) {
    thisTime := time.Now()
    nowString := thisTime.Format("2006-01-02 15:04:05 Monday")
    t.Log("Starting unit test at " + nowString)

    // mock resource
    keyID := "test-kms-key-ID"
    text := "This is a bunch of text"

    mockSvc := &mockKMSClient{}

    result, err := EncryptText(mockSvc, &keyID, &text)
    if err != nil {
        t.Fatal(err)
    }

    t.Log(result.CiphertextBlob)
}