public void Create_NoParameters_ReturnsInstanceWithFormatSet() { var query = _queryFactory.Create(); Assert.That(query.FormatPredicate, Is.Not.Null); Assert.That(query.FormatPredicate.DataFormat, Is.EqualTo(ODataFormat.Json)); }
public RestQueryModelVisitor(IODataQueryFactory queryFactory) { _query = queryFactory.Create(); _filterExpressionTranslator = new ODataFilterExpressionVisitor(new FilterExpressionParserStrategy(), new TypeFormatter()); }