public void GetEntitySet_ReturnsNull()
        {
            BatchPathSegment batchSegment = new BatchPathSegment();
            IEdmEntitySet entitySet = new Mock<IEdmEntitySet>().Object;

            Assert.Null(batchSegment.GetEntitySet(entitySet));
        }
        public void TryMatch_ReturnsTrue_ForBatchSegment()
        {
            // Arrange
            BatchPathSegment segment = new BatchPathSegment();
            BatchPathSegment batch = new BatchPathSegment();
            Dictionary<string, object> values = new Dictionary<string, object>();

            // Act
            bool result = segment.TryMatch(batch, values);

            // Assert
            Assert.True(result);
            Assert.Empty(values);
        }
 public void GetEdmType_ReturnsNull()
 {
     BatchPathSegment segment = new BatchPathSegment();
     Assert.Null(segment.GetEdmType(previousEdmType: null));
 }
 public void PropertySegmentKind_Returns_Batch()
 {
     BatchPathSegment segment = new BatchPathSegment();
     Assert.Equal(ODataSegmentKinds.Batch, segment.SegmentKind);
 }