public void beforeEach() throws Exception {
context = new ExecutionContext();
valueFactories = context.getValueFactories();
pathFactory = valueFactories.getPathFactory();
nameFactory = valueFactories.getNameFactory();
propertyFactory = new BasicPropertyFactory(valueFactories);
repositoryName = "Test repository";
rootUuid = UUID.randomUUID();
repository = new InMemoryRepository(repositoryName, rootUuid);
workspaceName = "My Workspace";
workspace = (InMemoryRepository.Workspace) repository.createWorkspace(context, workspaceName, CreateConflictBehavior.DO_NOT_CREATE);