         let objects = (0...numberOfObjects).map { _ in createObject() }
         
         // producer completes synchronously
-        producer(for: objects).mapResponseArgo().startWithResult { (result: Result<[ModelStub], ErrorStub>) in
-            XCTAssertEqual(result.value!, objects)
-            XCTAssertNil(result.error)
+        producer(for: objects)
+            .mapResponseArgo()
+            .startWithResult { (result: Result<[ModelStub], ErrorStub>) in
+                XCTAssertEqual(result.value!, objects)
+                XCTAssertNil(result.error)
         }
     }
     

        let object = createObject()
        
        // producer completes synchronously
        producer(for: object).mapResponseArgo().startWithResult { (result: Result<ModelStub, ErrorStub>) in
            XCTAssertEqual(result.value, object)
            XCTAssertNil(result.error)
        }
    }
    

        let objects = (0...numberOfObjects).map { _ in createObject() }
        
        // producer completes synchronously
        invalidProducer(for: objects)
            .mapResponseArgo()
            .startWithResult { (result: Result<[ModelStub], ErrorStub>) in
                XCTAssertNil(result.value)
                XCTAssertNotNil(result.error)
        }
    }
    
