This PR updates the CreateMockByteArray() function used in unit tests that are generated by the SDK generator. Specifically, it syncs the definition of the function with the version used in Go SDKs. The change is to add code to do a base64-decode of the input string which is assumed to be a base64-encoded string (the original un-encoded data would be simply a []byte value - binary data).
This PR updates the CreateMockByteArray() function used in unit tests that are generated by the SDK generator. Specifically, it syncs the definition of the function with the version used in Go SDKs. The change is to add code to do a base64-decode of the input string which is assumed to be a base64-encoded string (the original un-encoded data would be simply a
[]byte
value - binary data).