def test_add_no_data(self):
		from grease.component import Component
		c = Component()
		c.set_world(world)
		entity = TestEntity()
		self.assertFalse(entity in c)
		ed = c.set(entity)
		self.assertTrue(entity in c)
		self.assertEqual(list(c), [entity])
dataset/ETHPy150Open caseman/grease/test/component_test.py/GeneralTestCase.test_add_no_data/original