diff --git a/CDP4Common.NetCore.Tests/Poco/BinaryRelationshipTestFixture.cs b/CDP4Common.NetCore.Tests/Poco/BinaryRelationshipTestFixture.cs index a5cc6802c..193649711 100644 --- a/CDP4Common.NetCore.Tests/Poco/BinaryRelationshipTestFixture.cs +++ b/CDP4Common.NetCore.Tests/Poco/BinaryRelationshipTestFixture.cs @@ -93,18 +93,18 @@ public void VerifyThatAppliedRulesGetterWorks() iteration.Relationship.Add(relationship); // test - Assert.IsEmpty(relationship.AppliedBinaryRelationshipRules); + Assert.IsEmpty(relationship.QueryAppliedBinaryRelationshipRules()); relationship.Category.Add(cat3); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule3)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule3)); relationship.Category.Add(cat1); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule3)); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule1)); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule11)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule3)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule1)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule11)); relationship.Category = null; - Assert.IsEmpty(relationship.AppliedBinaryRelationshipRules); + Assert.IsEmpty(relationship.QueryAppliedBinaryRelationshipRules()); } } } \ No newline at end of file diff --git a/CDP4Common.Tests/Poco/BinaryRelationshipTestFixture.cs b/CDP4Common.Tests/Poco/BinaryRelationshipTestFixture.cs index cd21139c3..0407383fa 100644 --- a/CDP4Common.Tests/Poco/BinaryRelationshipTestFixture.cs +++ b/CDP4Common.Tests/Poco/BinaryRelationshipTestFixture.cs @@ -93,18 +93,18 @@ public void VerifyThatAppliedRulesGetterWorks() iteration.Relationship.Add(relationship); // test - Assert.IsEmpty(relationship.AppliedBinaryRelationshipRules); + Assert.IsEmpty(relationship.QueryAppliedBinaryRelationshipRules()); relationship.Category.Add(cat3); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule3)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule3)); relationship.Category.Add(cat1); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule3)); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule1)); - Assert.IsTrue(relationship.AppliedBinaryRelationshipRules.Contains(rule11)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule3)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule1)); + Assert.IsTrue(relationship.QueryAppliedBinaryRelationshipRules().Contains(rule11)); relationship.Category = null; - Assert.IsEmpty(relationship.AppliedBinaryRelationshipRules); + Assert.IsEmpty(relationship.QueryAppliedBinaryRelationshipRules()); } } } \ No newline at end of file