VideoTests PlayVideoWhileOtherIsPlaying Method Delta Engine Documentation

Namespace: DeltaEngine.Multimedia.Tests
Assembly: DeltaEngine.Multimedia.Tests (in DeltaEngine.Multimedia.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void PlayVideoWhileOtherIsPlaying()
Examples

[Test]
public void PlayVideoWhileOtherIsPlaying()
{
    var otherTestVideo = ContentLoader.Load<Video>("DefaultVideo");
    testVideo.Play();
    Assert.False(MockVideo.VideoStopCalled);
    otherTestVideo.Play();
    Assert.False(MockVideo.VideoStopCalled);
}
See Also