'Test attribute aggregation.
Test attribute aggregation and that we mimic the nested resource\'s
attributes.'

def test_index_dotted_attribs(self):

    resg = self._create_dummy_stack()
    self.assertEqual('0', resg.FnGetAtt('resource.0.Foo'))
    self.assertEqual('1', resg.FnGetAtt('resource.1.Foo'))
