Exemplo n.º 1
0
    public void TestClearCurrentSpeakerWhileSpeaking()
    {
        var instance = new ListOfSpeakersViewModel();

        instance.SpeakerTime = new TimeSpan(0, 0, 30);
        instance.AddSpeaker("Speaker");
        instance.NextSpeaker();
        instance.ResumeSpeaker();
        instance.ClearCurrentSpeaker();
        Assert.AreEqual(ESpeakerListStatus.Stopped, instance.Status);
    }