             XCTAssertEqual(object.arrayCol[i].boolCol, boolObjectListValues[i])
         }
     }
+
     private func verifySwiftObjectWithDictionaryLiteral(object: SwiftObject, dictionary: [String:AnyObject], boolObjectValue: Bool, boolObjectListValues: [Bool]) {
         XCTAssertEqual(object.boolCol, dictionary["boolCol"] as Bool)
         XCTAssertEqual(object.intCol, dictionary["intCol"] as Int)

            "dateCol": NSDate(timeIntervalSince1970: 2) as NSDate,
            "objectCol": SwiftBoolObject(object: [true]) as AnyObject,
            "arrayCol": [SwiftBoolObject(), SwiftBoolObject()]  as AnyObject
        ]
        let object = SwiftObject(object: value)
        verifySwiftObjectWithDictionaryLiteral(object, dictionary: value, boolObjectValue: true, boolObjectListValues: [false, false])
    }

    func testInitWithDefaultsAndDictionaryLiteral() {
        // test with dictionary with mix of default and one specified value
        let object = SwiftObject(object: ["intCol": 200])
        var valueDict = SwiftObject.defaultValues()
        valueDict["intCol"] = 200
        verifySwiftObjectWithDictionaryLiteral(object, dictionary: valueDict, boolObjectValue: false, boolObjectListValues: [])
    }


        let objectWithInt = realm.create(SwiftObject.self, value: ["intCol": 200])
        realm.commitWrite()

        var valueDict = defaultSwiftObjectValuesWithReplacements(["intCol": 200])
        verifySwiftObjectWithDictionaryLiteral(objectWithInt, dictionary: valueDict, boolObjectValue: false, boolObjectListValues: [])
    }

