 
     func testPositiveMatchesWithClosures() {
         expect { self.anException.raise() }.to(raiseException { (exception: NSException) in
-            expect(exception.name).to(equal("laugh" as NSExceptionName))
+            expect(exception.name).to(equal(NSExceptionName(rawValue: "laugh")))
         })
         expect { self.anException.raise() }.to(raiseException(named: "laugh") { (exception: NSException) in
             expect(exception.name.rawValue).to(beginWith("lau"))

    func testNegativeMatchesDoNotCallClosureWithoutException() {
        failsWithErrorMessage("expected to raise exception that satisfies block, got no exception") {
            expect { self.anException }.to(raiseException { (exception: NSException) in
                expect(exception.name).to(equal("foo" as NSExceptionName))
            })
        }
        

        ]
    }

    var anException = NSException(name: NSExceptionName(rawValue: "laugh"), reason: "Lulz", userInfo: ["key": "value"])

    func testPositiveMatches() {
        expect { self.anException.raise() }.to(raiseException())
