def METHOD_NAME(self, cumulative=False, percentage=False):
    indicator = {'title': INDICATOR_TITLE}
    if cumulative:
        indicator['cumulative'] = True
    if percentage:
        indicator['measure'] = PERCENTAGE_MEASURE
    indicator['periods'] = [
        {
            'period_start': PERIOD_START_1,
            'period_end': date(2010, 12, 31),
        },
        {
            'period_start': PERIOD_START_2,
            'period_end': date(2011, 12, 31),
        },
    ]
    self.project = ProjectFixtureBuilder()\
        .with_disaggregations({
            DISAGGREGATION_CATEGORY: [DISAGGREGATION_TYPE_1, DISAGGREGATION_TYPE_2]
        })\
        .with_results([
            {
                'title': 'Result #1',
                'indicators': [indicator]
            }
        ])\
        .build()
    self.indicator = self.project.indicators.get(title=INDICATOR_TITLE)
    self.user = self.create_user('test@akvo.org', 'password', is_admin=True)