       }
     ) { (error) in
       context.performAndWait {
- XCTAssertNotNil(error)
+        XCTAssertNotNil(error)
       }
     }
 
     context.performAndWait {
-    context.rollback() // discards all the failing changes
+      context.rollback() // discards all the failing changes
     }
 
     XCTAssertNoThrow(


    wait(for: [saveExpectation3], timeout: 10)
    context.performAndWait {
    context.rollback() // remove not valid changes
    }

    let saveExpectation4 = expectation(description: "Save 4")

  }

  func testSaveOrRollback() {
    // let stack = CoreDataStack.stack(type: .inMemory) // TODO: iOS 12 not working for in memory
    let context = container.viewContext

    let car1 = Car(context: context)
