Skip to content

Commit c87faf3

Browse files
author
Christian Elies
committed
test(): implemented remote image service dependencies test
1 parent 64af9c6 commit c87faf3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// RemoteImageServiceDependenciesTests.swift
3+
// RemoteImageTests
4+
//
5+
// Created by Christian Elies on 15.12.19.
6+
//
7+
8+
import Foundation
9+
@testable import RemoteImage
10+
import XCTest
11+
12+
final class RemoteImageServiceDependenciesTests: XCTestCase {
13+
func testInitialization() {
14+
let dependencies = RemoteImageServiceDependencies()
15+
XCTAssertTrue(dependencies.photoKitService is PhotoKitService)
16+
XCTAssertTrue(dependencies.remoteImageURLDataPublisher is URLSession)
17+
}
18+
}

0 commit comments

Comments
 (0)