Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-725

ICouchbaseCluster Interface Internal - Can't Mock Root Object

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Blocker
    • None
    • 2.0 Beta, 2.0 Beta 2
    • library

    Description

      The ICouchbaseCluster interface has been made internal, and the Class which inherits this interface (Cluster) is a sealed class, thus I cannot inherit from it.

      Because of this, we cannot mock the root object.

      I would suggest making the interface public instead of internal, if you do not want to expose code from the Cluster class.

      Thanks and I hope to see this in the next release.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            cameronpearce cameronpearce
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty