public void SettingNameShouldSetMappedToTrue() { var mapping = new CompositeIdMapping(); mapping.Set(x => x.Name, Layer.Defaults, "someName"); mapping.Mapped.ShouldBeTrue(); }
public void SettingNameToBlankValueShouldSetMappedToFalse() { var mapping = new CompositeIdMapping(); mapping.Set(x => x.Name, Layer.Defaults, null); mapping.Mapped.ShouldBeFalse(); }