Feature: _DefaultHandler NotImplementedError coverage (rhscov3)
  Exercises uncovered lines in resource_handler_service.py:
  the _DefaultHandler CRUD stubs (read, write, delete, list_children, diff,
  discover_children) and lifecycle stubs (create_sandbox, create_checkpoint,
  rollback_to, project_access) that all raise NotImplementedError.

  Lines covered: 275, 279, 283, 287, 291, 295-296, 308, 318-319, 330, 340.

  # ============================================================
  # CRUD stubs
  # ============================================================

  Scenario: rhscov3 _DefaultHandler read raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call read on the default handler
    Then rhscov3 a NotImplementedError is stored containing "read"

  Scenario: rhscov3 _DefaultHandler write raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call write on the default handler
    Then rhscov3 a NotImplementedError is stored containing "write"

  Scenario: rhscov3 _DefaultHandler delete raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call delete on the default handler
    Then rhscov3 a NotImplementedError is stored containing "delete"

  Scenario: rhscov3 _DefaultHandler list_children raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call list_children on the default handler
    Then rhscov3 a NotImplementedError is stored containing "list_children"

  Scenario: rhscov3 _DefaultHandler diff raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call diff on the default handler
    Then rhscov3 a NotImplementedError is stored containing "diff"

  Scenario: rhscov3 _DefaultHandler discover_children raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call discover_children on the default handler
    Then rhscov3 a NotImplementedError is stored containing "discover_children"

  # ============================================================
  # Lifecycle stubs
  # ============================================================

  Scenario: rhscov3 _DefaultHandler create_sandbox raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    And rhscov3 a mock sandbox manager
    When rhscov3 I call create_sandbox on the default handler
    Then rhscov3 a NotImplementedError is stored containing "create_sandbox"

  Scenario: rhscov3 _DefaultHandler create_checkpoint raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    And rhscov3 a mock sandbox manager
    When rhscov3 I call create_checkpoint on the default handler
    Then rhscov3 a NotImplementedError is stored containing "create_checkpoint"

  Scenario: rhscov3 _DefaultHandler rollback_to raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    And rhscov3 a mock sandbox manager
    When rhscov3 I call rollback_to on the default handler
    Then rhscov3 a NotImplementedError is stored containing "rollback_to"

  Scenario: rhscov3 _DefaultHandler project_access raises NotImplementedError
    Given rhscov3 a _DefaultHandler with a dummy type spec
    And rhscov3 a dummy resource
    When rhscov3 I call project_access on the default handler
    Then rhscov3 a NotImplementedError is stored containing "project_access"
