@@ -10,6 +10,7 @@ public class MapCollectionWithEqualityTests
1010 {
1111 public MapCollectionWithEqualityTests ( )
1212 {
13+ Mapper . Reset ( ) ;
1314 Mapper . Initialize ( x =>
1415 {
1516 x . AddCollectionMappers ( ) ;
@@ -72,6 +73,7 @@ public void Should_Be_Fast_With_Large_Reversed_Lists()
7273
7374 public void Should_Be_Fast_With_Large_Lists_MultiProperty_Mapping ( )
7475 {
76+ Mapper . Reset ( ) ;
7577 Mapper . Initialize ( x =>
7678 {
7779 x . AddCollectionMappers ( ) ;
@@ -87,6 +89,7 @@ public void Should_Be_Fast_With_Large_Lists_MultiProperty_Mapping()
8789
8890 public void Should_Be_Fast_With_Large_Lists_MultiProperty_Mapping_Cant_Extract ( )
8991 {
92+ Mapper . Reset ( ) ;
9093 Mapper . Initialize ( x =>
9194 {
9295 x . AddCollectionMappers ( ) ;
@@ -102,6 +105,7 @@ public void Should_Be_Fast_With_Large_Lists_MultiProperty_Mapping_Cant_Extract()
102105
103106 public void Should_Be_Fast_With_Large_Lists_Cant_Extract_Negative ( )
104107 {
108+ Mapper . Reset ( ) ;
105109 Mapper . Initialize ( x =>
106110 {
107111 x . AddCollectionMappers ( ) ;
@@ -118,6 +122,7 @@ public void Should_Be_Fast_With_Large_Lists_Cant_Extract_Negative()
118122
119123 public void Should_Be_Fast_With_Large_Lists_MultiProperty_Mapping_Cant_Extract_Negative ( )
120124 {
125+ Mapper . Reset ( ) ;
121126 Mapper . Initialize ( x =>
122127 {
123128 x . AddCollectionMappers ( ) ;
@@ -134,6 +139,7 @@ public void Should_Be_Fast_With_Large_Lists_MultiProperty_Mapping_Cant_Extract_N
134139
135140 public void Should_Be_Fast_With_Large_Lists_SubObject ( )
136141 {
142+ Mapper . Reset ( ) ;
137143 Mapper . Initialize ( x =>
138144 {
139145 x . AddCollectionMappers ( ) ;
@@ -149,6 +155,7 @@ public void Should_Be_Fast_With_Large_Lists_SubObject()
149155
150156 public void Should_Be_Fast_With_Large_Lists_SubObject_WrongCollectionType_Should_Throw ( )
151157 {
158+ Mapper . Reset ( ) ;
152159 Mapper . Initialize ( x =>
153160 {
154161 x . AddCollectionMappers ( ) ;
@@ -165,6 +172,7 @@ public void Should_Be_Fast_With_Large_Lists_SubObject_WrongCollectionType_Should
165172
166173 public void Should_Work_With_Conditionals ( )
167174 {
175+ Mapper . Reset ( ) ;
168176 Mapper . Initialize ( cfg =>
169177 {
170178 cfg . AddCollectionMappers ( ) ;
@@ -212,6 +220,7 @@ public void Should_Work_With_Null_Destination()
212220
213221 public void Should_Work_With_Comparing_String_Types ( )
214222 {
223+ Mapper . Reset ( ) ;
215224 Mapper . Initialize ( cfg =>
216225 {
217226 cfg . AddCollectionMappers ( ) ;
@@ -290,6 +299,7 @@ public class SaleCharge
290299
291300 public void Should_Be_Instanced_Based ( )
292301 {
302+ Mapper . Reset ( ) ;
293303 Mapper . Initialize ( x =>
294304 {
295305 x . AddCollectionMappers ( ) ;
0 commit comments