public void On_PropertyPath_Succeeds() { var expression = new SearchExpression <Request, Entity, Result>(x => x.SubEntityValue); expression.On("SubEntity.Value"); expression.ItemPropertyPaths[0].Should().Be("SubEntity.Value"); }