def METHOD_NAME(self):
    ''' Tests whether a warning is generated when higher order terms
    are specified for a linear map (alpha_array)
    '''
    alpha_array3 = [1, 2, 3]
    circumference = 1.
    Q_s = 0.011
    warnings = AccumulatorPrinter()
    linear_map = LinearMap(alpha_array3, circumference, Q_s,
                           warningprinter=warnings)
    self.assertTrue(warnings.log, 'No warning generated when specifying' +
                    'higher order terms in LinearMap')