@Before
public void beforeEach() {
context = new ExecutionContext();
pathFactory = context.getValueFactories().getPathFactory();
registry = context.getNamespaceRegistry();
encoder = new UrlEncoder();
repositoryPath = pathFactory.create("/a/b/c");
sourcePath = pathFactory.create("/x/y");
validExceptions = new Path[] {pathFactory.create("e/f"), pathFactory.create("e/g")};
rule = new Projection.PathRule(repositoryPath, sourcePath, validExceptions);
}