| 80 | }; |
| 81 | |
| 82 | TEST(MockComparatorCopierTest, customObjectParameterFailsWhenNotHavingAComparisonRepository) |
| 83 | { |
| 84 | MockFailureReporterInstaller failureReporterInstaller; |
| 85 | |
| 86 | MyTypeForTesting object(1); |
| 87 | mock().expectOneCall("function").withParameterOfType("MyTypeForTesting", "parameterName", &object); |
| 88 | mock().actualCall("function").withParameterOfType("MyTypeForTesting", "parameterName", &object); |
| 89 | |
| 90 | MockNoWayToCompareCustomTypeFailure expectedFailure(mockFailureTest(), "MyTypeForTesting"); |
| 91 | CHECK_EXPECTED_MOCK_FAILURE(expectedFailure); |
| 92 | } |
| 93 | |
| 94 | TEST(MockComparatorCopierTest, customObjectParameterFailsWhenNotHavingACopierRepository) |
| 95 | { |
nothing calls this directly
no test coverage detected