public void MatchingMapsDontRequireMigration() { var from = this.GenerateMap(); var to = this.GenerateMap(); var target = MigrationPair.Of(from, to); string dontcare; Assert.False(target.RequiresUpdate(out dontcare)); }
private void AssertRequiresUpdate(Action <IMap <Post> > action) { var from = this.GenerateMap(); var to = this.GenerateMap(); action(to); var target = MigrationPair.Of(@from, to); string dontcare; Assert.True(target.RequiresUpdate(out dontcare)); }