Refactoring PredefinedGraphPane spec test