public void StringContainedIn() { Expression <Func <TestEntity, bool> > filter = x => "Chai".Contains(x.ProductName); Assert.Equal(FormatSettings.GetContainedInFormat("ProductName", "Chai"), ODataExpression.FromLinqExpression(filter).AsString(_session)); }