public void AfterTest()
        {
            _emote.OnElementUninitialised();

            _otherImage = null;
            _image      = null;

            _emote = null;

            _dispatcher = null;
        }
        public void BeforeTest()
        {
            _dispatcher = new UnityMessageEventDispatcher();

            _emote = new GameObject().AddComponent <EmoteLocalUIElementComponent>();

            _image      = new GameObject().AddComponent <Image>();
            _otherImage = new GameObject().AddComponent <Image>();

            _emote.EmoteGraphics = new List <EmoteGraphicEntry>
            {
                new EmoteGraphicEntry {
                    DisplayImage = _image, State = EEmoteState.Alerted
                },
                new EmoteGraphicEntry {
                    DisplayImage = _otherImage, State = EEmoteState.None
                }
            };

            _emote.OnElementInitialised(_dispatcher);
        }