def METHOD_NAME(self, cases, resolved, error_code=None):
    start_time = str(datetime.utcnow().date())
    end_time = str(datetime.utcnow().date() + timedelta(days=1))
    expected_params = {'afterTime': start_time, 'beforeTime': end_time,
                       'includeResolvedCases': resolved, 'language': 'en'}
    response = {'cases': cases}
    self._stub_bifurcator(
        'describe_cases', expected_params, response, error_code=error_code)