public void CreateNullEndPoint_CollectionEndPoint() { var orderItemsDefinition = Configuration.GetTypeDefinition(typeof(Order)).GetRelationEndPointDefinition(typeof(Order).FullName + ".OrderItems"); var nullObjectEndPoint = RelationEndPointManager.CreateNullEndPoint(TestableClientTransaction, orderItemsDefinition); Assert.That(nullObjectEndPoint, Is.TypeOf(typeof(NullCollectionEndPoint))); var collectionEndPointID = RelationEndPointID.Create(null, orderItemsDefinition); Assert.That(nullObjectEndPoint.ID, Is.EqualTo(collectionEndPointID)); }