We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8647f2 commit 70464f1Copy full SHA for 70464f1
src/FluentNHibernate.Testing/ConventionsTests/ApplyingToModel/HasManyConventionTests.cs
@@ -184,6 +184,15 @@ public void ShouldSetNotFoundProperty()
184
VerifyModel(x => x.Relationship.NotFound.ShouldEqual("ignore"));
185
}
186
187
+
188
+ [Test]
189
+ public void ShouldSetInversePropertyToFalseWhenUsingNot()
190
+ {
191
+ Convention(x => x.Not.Inverse());
192
193
+ VerifyModel(x => x.Inverse.ShouldBeFalse());
194
+ }
195
196
#region Helpers
197
198
private void Convention(Action<IOneToManyCollectionInstance> convention)
0 commit comments