mockFactory.expectsInstanceOf(Pane.class),
NDimensionalIndex.ZERO_DIMENSIONS)
.returns(paneInstance)
.any();
InternalProjectFactory factory =
InternalProjectFactory.getInternalInstance();
// ProjectMock project = new ProjectMock("project mock", expectations);
final RuntimeProjectMock project =
new RuntimeProjectMock("projectMock", expectations);
project.expects.getPolicySource()
.returns(factory.createXMLPolicySource(null, ".")).any();
MethodAction initialiseCanvasAction = new MethodAction() {
public Object perform(MethodActionEvent event) throws Throwable {
// Optional for XDIME2.