duplicatePeerIdDeclaration

Whether injectDuplicatePeerId can exercise the obligation. NotConstructible cross-checks the hook and requires a reason; there is no universal stimulus to refute that reason.

Samples

object : SeamConformanceSuite() {
    override fun capabilities(): SeamCapabilities =
        SeamCapabilities.FULL.copy(securesTransport = false, reportsLiveCapability = false)
    override fun capabilityGaps(): Map<String, String> = mapOf(
        "securesTransport" to CapabilityGaps.SECURES_TRANSPORT,
        "reportsLiveCapability" to CapabilityGaps.LIVE_CAPABILITY,
    )
    override fun joinerRosterOrigin(): JoinerRosterOrigin =
        JoinerRosterOrigin.FilledByConstruction("one in-memory loom shares the roster between both ends")

    override fun newLoomPair(): Pair<Loom, Loom> = InMemoryLoom().let { it to it }

    override fun duplicatePeerIdDeclaration(): ObligationDeclaration =
        ObligationDeclaration.NotApplicable.NotConstructible(
            "the in-memory loom mints identities internally; this fixture cannot announce an incumbent id",
        )

    override fun blankPeerIdDeclaration(): ObligationDeclaration =
        ObligationDeclaration.NotApplicable.NotConstructible(
            "the in-memory loom mints identities internally; this fixture cannot announce a blank id",
        )
}