Implemented some test cases for the Fetcher class and the URL+Device extension.

This commit is contained in:
2023-04-17 17:44:11 +02:00
parent 09a07ad373
commit 409a717082
8 changed files with 401 additions and 11 deletions
@@ -0,0 +1,30 @@
//
// URL+DevicesTests.swift
// PersistenceTests
//
// Created by Javier Cicchelli on 17/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.
//
import Foundation
import Persistence
import XCTest
final class URL_DevicesTests: XCTestCase {
// MARK: Properties
private var url: URL!
// MARK: - Tests
func test_bitBucket() {
// GIVEN
// WHEN
url = .bitBucket
// THEN
XCTAssertEqual(url.absoluteString, "file:///dev/null")
}
}