   }
 
   public func verify(verificationMode mode: VerificationMode) {
+    verificationMode = mode
     transtion(toState: .Verify)
   }
 

        registerStub(ofFunction: function, withArgs: args)

        transtion(toState: .None)
//      case .Verify: break
      case .GetArgs:
        assignArguments(ofFunction: function)

        transtion(toState: .None)
      default: break
    }
    
    return returnValue
  }


  
  private let mockFailer: MockFailer

  // this is the stub which is currenly being configured or called
  private var stub: Stub!
  private var stubs = [Stub]()
  
