         let transition = machine.fireEventNamed("Pass")
         
         switch transition {
-        case .Success(let sourceState, let destinationState):
+        case .Success(_,_):
             XCTFail("success should not be fired")
         case .Error(let error):
             XCTAssert(error.code == Errors.Transition.TransitionDeclined.rawValue)

        let transition = machine.fireEventNamed("Completed")
        
        switch transition {
        case .Success(let sourceState, let destinationState):
            XCTFail("success should not be fired")
        case .Error(let error):
            XCTAssert(error.code == Errors.Transition.InvalidTransition.rawValue)

        case .Success(let sourceState,let destinationState):
            XCTAssert(sourceState.value == "Initial")
            XCTAssert(destinationState.value == "Passed")
        case .Error(_):
            XCTFail("There shouldn't be any errors")
        }
    }
