A flattened version of variables is added to a line when it is created
The line draw method is set up when it is created
Created a mockRenderer for testing purposes. Checks whether the renderer has been asked to draw a line