public void given_newMapExlude_should_assignPropertyInfoInternally()
 {
     MapExclude<BaseFake> includer = new MapExclude<BaseFake>(fakeClass, initialProperty);
     var mappingProperties = includer.GetPropertiesThatWillNotMap();
     Assert.AreEqual(1, mappingProperties.Length);
     Assert.IsTrue(mappingProperties.First().Equals(initialProperty));
 }
 public void Nor_given_newMapExlude_should_assignPropertyInfoInternally()
 {
     MapExclude<BaseFake> excluder = new MapExclude<BaseFake>(fakeClass, initialProperty);
     excluder.Nor(x => x.SystemWideSpread);
     var mappingProperties = excluder.GetPropertiesThatWillNotMap();
     Assert.AreEqual(2, mappingProperties.Length);
     Assert.IsTrue(mappingProperties.First().Equals(initialProperty));
     Assert.IsTrue(mappingProperties.Last().Equals(fakeClass.GetType().GetProperties().First(x => x.Name == "SystemWideSpread")));
 }