| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 1 | #include <gtest/gtest.h> | 
|  | 2 | #include <pdx/mock_client_channel.h> | 
|  | 3 | #include <pdx/mock_client_channel_factory.h> | 
|  | 4 | #include <pdx/mock_message_reader.h> | 
|  | 5 | #include <pdx/mock_message_writer.h> | 
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 6 | #include <pdx/mock_service_endpoint.h> | 
|  | 7 |  | 
|  | 8 | TEST(MockTypes, Instantiation) { | 
|  | 9 | // Make sure all our interfaces are mocked out properly and mock instances | 
|  | 10 | // can be created. | 
|  | 11 | android::pdx::MockClientChannel client_channel; | 
|  | 12 | android::pdx::MockClientChannelFactory client_channel_factory; | 
|  | 13 | android::pdx::MockInputResourceMapper input_resource_mapper; | 
|  | 14 | android::pdx::MockMessageReader message_reader; | 
|  | 15 | android::pdx::MockOutputResourceMapper output_resource_mapper; | 
|  | 16 | android::pdx::MockMessageWriter message_writer; | 
| Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 17 | android::pdx::MockEndpoint endpoint; | 
|  | 18 | } |