         }
     }
 }
-#endif

        configuration.makeImageEncoder = { _ in
            return encoder
        }
        let pipeline = ImagePipeline(configuration: configuration)

        // When
        pipeline.configuration.imageEncodingQueue.isSuspended = true
        expect(pipeline).toLoadImage(with: request)
        expect(pipeline.configuration.imageEncodingQueue).toFinishWithEnqueuedOperationCount(1)

        // Then
        wait { _ in

        // Given
        var configuration = pipeline.configuration
        configuration.isDataCacheForOriginalDataEnabled = false
        pipeline = ImagePipeline(configuration: configuration)

        // When
        pipeline.configuration.imageEncodingQueue.isSuspended = true
        expect(pipeline.configuration.imageEncodingQueue).toFinishWithEnqueuedOperationCount(1)
        expect(pipeline).toLoadImage(with: request)

        // Then
        wait { _ in
