7 #ifndef PACKAGER_MEDIA_BASE_MOCK_AES_CRYPTOR_H_
8 #define PACKAGER_MEDIA_BASE_MOCK_AES_CRYPTOR_H_
10 #include <packager/media/base/aes_cryptor.h>
20 bool(
const std::vector<uint8_t>& key,
21 const std::vector<uint8_t>&
iv));
22 MOCK_METHOD4(CryptInternal,
23 bool(
const uint8_t* text,
26 size_t* crypt_text_size));
27 MOCK_METHOD0(SetIvInternal,
void());
All the methods that are virtual are virtual for mocking.