'CreateModel, AlterModelTable, AlterUniqueTogether/AlterIndexTogether/
AlterOrderWithRespectTo, and DeleteModel should collapse into nothing.'

def _test_create_alter_foo_delete_model(self, alter_foo):

    self.assertOptimizesTo([migrations.CreateModel('Foo', [('name', models.CharField(max_length=255))]), migrations.AlterModelTable('Foo', 'woohoo'), alter_foo, migrations.DeleteModel('Foo')], [])
