public void SetUp() { var manager = new GameObject(); var emulator = manager.AddComponent <Emulator>(); emulator.Awake(); var address = new GameObject(); _addressTextComponent = address.AddComponent <Text>(); var memoryTextGameObject = new GameObject(); var text = memoryTextGameObject.AddComponent <Text>(); var memoryView = memoryTextGameObject.AddComponent <MemoryView>(); _memoryView = memoryView; _memoryView.manager = manager; _memoryView.address = address; _memoryView.Start(); }