public void FilterNullPropagationTrue()
        {
            var result = OpenType.CreateQuery().OData(c => c.QuerySettings.HandleNullPropagation = OData.Query.HandleNullPropagationOption.True).Filter("Name1 eq 'n1'").ToArray();

            Assert.Single(result);
        }
 public void FilterNullPropagationFalse()
 {
     Assert.Throws <NullReferenceException>(() => OpenType.CreateQuery().OData(c => c.QuerySettings.HandleNullPropagation = OData.Query.HandleNullPropagationOption.False).Filter("Name1 eq 'n1'").ToArray());
 }
 public void FilterDefault()
 {
     Assert.Throws <NullReferenceException>(() => OpenType.CreateQuery().OData().Filter("Name1 eq 'n1'").ToArray());
 }