XDIMEElementHandler handler;
public void setUp() throws Exception {
super.setUp();
factoryMock = new ElementFactoryMock("factoryMock", expectations);
ElementFactoryMapBuilder builder = new ElementFactoryMapBuilder();
elementType = new ElementType("foo", "bar");
builder.addMapping(elementType, factoryMock);
ElementFactoryMap map = builder.buildFactoryMap();