     func testLoadError() {
         //Given
         let resource = testResource(elements: ["Result"])
+        resourceDataProvider.reconfigure(with: resource)
         
         //When
-        resourceDataProvider.reconfigure(with: resource)
+        
+        resourceDataProvider.load()
         networkService.returnError(with: .unknownError)
         
         //Then

    func testLoadSucceed() {
        //Given
        let resource = testResource(elements: ["Result"])
        
        //When
        resourceDataProvider.reconfigure(with: resource)
        networkService.returnSuccess()
        //Then
        XCTAssert(resourceDataProvider.state.hasSucceded)
        XCTAssertEqual("Result", resourceDataProvider.contents.first?.first)

        XCTAssertEqual(networkService.requestCount, 0)
    }
    
    func testReconfigureResource() {
        //Given
        let resource = testResource(elements: ["Result"])
        
        //When
        resourceDataProvider.reconfigure(with: resource)
        resourceDataProvider.load()
        
        //Then
        XCTAssert(resourceDataProvider.state.isLoading)
