	@Test
	public void readingNotation() throws IOException {

		Resource coffeeResource = loadResource("SuperBrewer3000.coffee");
		Resource notationResource = loadResource("SuperBrewer3000.coffeenotation");
		WorkflowFacade facade = new WorkflowFacade(coffeeResource, notationResource);

		Machine machine = (Machine) coffeeResource.getContents().get(0);
		Workflow workflow = machine.getWorkflows().get(0);
		Node preHeat = workflow.getNodes().get(0);

		Optional<DiagramElement> diagramElement = facade.findDiagramElement(preHeat);
		assertTrue(diagramElement.isPresent());
		assertTrue(diagramElement.get() instanceof Shape);

		Shape preHeatShape = (Shape) diagramElement.get();
		assertEquals(23.0, preHeatShape.getPosition().getX());
		assertEquals(46.0, preHeatShape.getPosition().getY());
	}