         let _ = MyModel(context: stack.context)
 
         var didSave = false
-        self.expectationForNotification(NSManagedObjectContextDidSaveNotification, object: stack.context) { (notification) -> ObjCBool in
+        self.expectationForNotification(NSManagedObjectContextDidSaveNotification, object: stack.context) { (notification) -> Bool in
             didSave = true
             return true
         }

        let _ = MyModel(context: stack.context)

        var didSave = false
        self.expectationForNotification(NSManagedObjectContextDidSaveNotification, object: stack.context) { (notification) -> ObjCBool in
            didSave = true
            return true
        }

        let _ = MyModel(context: stack.context)

        var didSave = false
        self.expectationForNotification(NSManagedObjectContextDidSaveNotification, object: stack.context) { (notification) -> Bool in
            didSave = true
            return true
        }
