예제 #1
0
        public void Test_With_Message()
        {
            var ex = new SoundCloudInsufficientAccessRightsException("MyMessage");

            Assert.That(ex.Message, Is.EqualTo("MyMessage"));
        }
예제 #2
0
        public void Test_Without_Message()
        {
            var ex = new SoundCloudInsufficientAccessRightsException();

            Assert.That(ex.Message, Does.Contain("SoundCloud.Api.Exceptions.SoundCloudInsufficientAccessRightsException"));
        }