     
     func testLoadSucceed() {
         //Given
-        let resource = testResource(elements: ["Result"])
+        let resource = Resource.mockWith(result: ["Result"])
         resourceDataProvider.reconfigure(with: resource)
         
         //When

    
    func testOnNetworkRequestCanceldWithEmptyData() {
        //Given
        let resource = testResource(elements: ["Result"])
        resourceDataProvider.reconfigure(with: resource)
        
        //When

import DBNetworkStack
import Sourcing

extension Resource {
    static func mockWith(result: Model) -> Resource<Model> {
        let url: URL! = URL(string: "bahn.de")
        let request = URLRequest(url: url)
        
        return Resource(request: request, parse: { _ in return result })
    }
}

class ResourceDataProviderTests: XCTestCase {
