         XCTAssertEqual(capturedResult, 1)
         XCTAssertEqual(executionCount, 1)
     }
-    
 
     func testCorrectOrderOfReturnSuccessWithDataForMultipleRequests() {
         //Given

        var executionCount2: Int = 0

        //When
        networkServiceMock.request(resource, onCompletion: { result in
            executionCount1 += 1
            self.networkServiceMock.request(self.resource, onCompletion: { result in
                executionCount2 += 1
            }, onError: { _ in })
        }, onError: { _ in })

        var called2First = false

        //When
        networkServiceMock.request(resource, onCompletion: { _ in
            if !called2First {
                called1First = true
            }
        }, onError: { _ in })
        networkServiceMock.request(resource, onCompletion: { _ in
            if !called1First {
                called2First = true
            }
