Exemplo n.º 1
0
        public void WhenCalling_LoadFromLibraryAsync_WithNullOrWhitespaceString_Should_ThrowArgumentException(string testImageName)
        {
            var sut = new ImageLoader(A.Dummy <IGdiImageLoader>());

            sut.Awaiting(il => il.LoadFromLibraryAsync(testImageName))
            .Should().Throw <ArgumentException>();
        }