public async Task HighlightAsync_ReturnsCodeIfCodeIsEmptyOrWhitespace(string dummyCode)
        {
            // Arrange
            using (PrismService testSubject = CreatePrismService())
            {
                // Act
                string result = await testSubject.HighlightAsync(dummyCode, null).ConfigureAwait(false);

                // Assert
                Assert.Equal(dummyCode, result);
            }
        }
        public async Task HighlightAsync_ThrowsArgumentNullExceptionIfCodeIsNull()
        {
            // Arrange
            using (PrismService testSubject = CreatePrismService())
            {
                // Act and assert
                ArgumentNullException result = await Assert.
                                               ThrowsAsync <ArgumentNullException>(async() => await testSubject.HighlightAsync(null, null).ConfigureAwait(false)).
                                               ConfigureAwait(false);

                Assert.Equal($"{Strings.Exception_ParameterCannotBeNull}\nParameter name: code", result.Message, ignoreLineEndingDifferences: true);
            }
        }
        public async Task HighlightAsync_ThrowsObjectDisposedExceptionIfInstanceHasBeenDisposed()
        {
            // Arrange
            PrismService testSubject = CreatePrismService();

            testSubject.Dispose();

            // Act and assert
            ObjectDisposedException result = await Assert.
                                             ThrowsAsync <ObjectDisposedException>(async() => await testSubject.HighlightAsync(null, null).ConfigureAwait(false)).
                                             ConfigureAwait(false);
        }