Class RelOptFixture


public class RelOptFixture extends Object
A fixture for testing planner rules.

It provides a fluent API so that you can write tests by chaining method calls.

A fixture is immutable. If you have two test cases that require a similar set up (for example, the same SQL expression and set of planner rules), it is safe to use the same fixture object as a starting point for both tests.