예제 #1
0
        public void TTSPlayerStateChangedSignal()
        {
            tlog.Debug(tag, $"TTSPlayerStateChangedSignal START");

            using (TTSPlayer player = TTSPlayer.Get())
            {
                var testingTarget = new TTSPlayer(player);
                Assert.IsNotNull(testingTarget, "Can't create success object TTSPlayer");
                Assert.IsInstanceOf <TTSPlayer>(testingTarget, "Should be an instance of TTSPlayer type.");

                var result = testingTarget.StateChangedSignal();
                Assert.IsNotNull(result, "Can't create success object StateChangedSignalType");
                Assert.IsInstanceOf <StateChangedSignalType>(result, "Should be an instance of StateChangedSignalType type.");

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"TTSPlayerStateChangedSignal END (OK)");
        }