Exemplo n.º 1
0
        public void WhenCreateChannelChannelCreated()
        {
            ITrack result = null;

            try
            {
                // Arrange
                var target = new Builder <FMODPlayer>().Build();

                // Act
                result = target.CreateChannel(Path.Combine(Environment.CurrentDirectory, "Silence.mp3"));

                // Assert
                Assert.IsInstanceOf <FMODTrack>(result);
            }
            finally
            {
                Assert.IsNotNull(result);
                result.Dispose();
            }
        }