@@ -114,7 +114,7 @@ public class when_automapping_with_diagnostics_enabled
114
114
results . AutomappingSkippedTypes . Select ( x => x . Reason ) . Should ( ) . Contain ( "Skipped by result of IAutomappingConfiguration.ShouldMap(Type)" ) ;
115
115
116
116
It should_not_include_a_skipped_entry_for_used_types = ( ) =>
117
- results . AutomappingSkippedTypes . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
117
+ results . AutomappingSkippedTypes . Select ( x => x . Type ) . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
118
118
119
119
It should_include_all_unskipped_types_in_the_candidate_list = ( ) =>
120
120
results . AutomappingCandidateTypes . Should ( ) . OnlyContain ( type => type . Equals ( typeof ( Second ) ) || type . Equals ( typeof ( Third ) ) ) ;
@@ -160,7 +160,7 @@ public class when_automapping_with_diagnostics_enabled_and_excluding_by_where
160
160
results . AutomappingSkippedTypes . Select ( x => x . Reason ) . Should ( ) . Contain ( "Skipped by Where clause" ) ;
161
161
162
162
It should_not_include_a_skipped_entry_for_used_types = ( ) =>
163
- results . AutomappingSkippedTypes . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
163
+ results . AutomappingSkippedTypes . Select ( x => x . Type ) . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
164
164
165
165
It should_include_all_unskipped_types_in_the_candidate_list = ( ) =>
166
166
results . AutomappingCandidateTypes . Should ( ) . OnlyContain ( type => type . Equals ( typeof ( Second ) ) || type . Equals ( typeof ( Third ) ) ) ;
@@ -198,7 +198,7 @@ public class when_automapping_with_diagnostics_enabled_and_excluding_by_IgnoreBa
198
198
results . AutomappingSkippedTypes . Select ( x => x . Reason ) . Should ( ) . Contain ( "Skipped by IgnoreBase" ) ;
199
199
200
200
It should_not_include_a_skipped_entry_for_used_types = ( ) =>
201
- results . AutomappingSkippedTypes . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
201
+ results . AutomappingSkippedTypes . Select ( x => x . Type ) . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
202
202
203
203
It should_include_all_unskipped_types_in_the_candidate_list = ( ) =>
204
204
results . AutomappingCandidateTypes . Should ( ) . OnlyContain ( type => type . Equals ( typeof ( Second ) ) || type . Equals ( typeof ( Third ) ) ) ;
@@ -236,7 +236,7 @@ public class when_automapping_with_diagnostics_enabled_and_excluding_by_generic_
236
236
results . AutomappingSkippedTypes . Select ( x => x . Reason ) . Should ( ) . Contain ( "Skipped by IgnoreBase" ) ;
237
237
238
238
It should_not_include_a_skipped_entry_for_used_types = ( ) =>
239
- results . AutomappingSkippedTypes . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
239
+ results . AutomappingSkippedTypes . Select ( x => x . Type ) . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
240
240
241
241
It should_include_all_unskipped_types_in_the_candidate_list = ( ) =>
242
242
results . AutomappingCandidateTypes . Should ( ) . OnlyContain ( type => type . Equals ( typeof ( Second ) ) || type . Equals ( typeof ( Third ) ) ) ;
@@ -273,7 +273,7 @@ public class when_automapping_with_diagnostics_enabled_and_excluding_by_layer_su
273
273
results . AutomappingSkippedTypes . Select ( x => x . Reason ) . Should ( ) . Contain ( "Skipped by IAutomappingConfiguration.AbstractClassIsLayerSupertype(Type)" ) ;
274
274
275
275
It should_not_include_a_skipped_entry_for_used_types = ( ) =>
276
- results . AutomappingSkippedTypes . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
276
+ results . AutomappingSkippedTypes . Select ( x => x . Type ) . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
277
277
278
278
It should_include_all_unskipped_types_in_the_candidate_list = ( ) =>
279
279
results . AutomappingCandidateTypes . Should ( ) . OnlyContain ( type => type . Equals ( typeof ( Second ) ) || type . Equals ( typeof ( Third ) ) ) ;
@@ -318,7 +318,7 @@ public class when_automapping_with_diagnostics_enabled_and_excluding_by_explicit
318
318
results . AutomappingSkippedTypes . Select ( x => x . Reason ) . Should ( ) . Contain ( "Skipped by IAutomappingConfiguration.IsComponent(Type)" ) ;
319
319
320
320
It should_not_include_a_skipped_entry_for_used_types = ( ) =>
321
- results . AutomappingSkippedTypes . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
321
+ results . AutomappingSkippedTypes . Select ( x => x . Type ) . Should ( ) . NotContain ( new Type [ ] { typeof ( Second ) , typeof ( Third ) } ) ;
322
322
323
323
It should_include_all_unskipped_types_in_the_candidate_list = ( ) =>
324
324
results . AutomappingCandidateTypes . Should ( ) . OnlyContain ( type => type . Equals ( typeof ( Second ) ) || type . Equals ( typeof ( Third ) ) ) ;
0 commit comments