testabilities

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ContactAssertion

type ContactAssertion interface {
	Created(contact *engine.Contact) ContactErrorAssertion
}

type ContactErrorAssertion

type ContactErrorAssertion interface {
	WithError(err error) ContactFailureAssertion
	WithNoError(err error) ContactSuccessAssertion
}

type ContactFailureAssertion

type ContactFailureAssertion interface {
	ThatIs(expectedErr error) ContactFailureAssertion
}

type ContactFixture

type ContactFixture interface {
	Engine() (engine.ClientInterface, func())
	ExternalPaymailServer() *paymailmock.PaymailClientMock
}

type ContactSuccessAssertion

type ContactSuccessAssertion interface {
	WithStatus(status engine.ContactStatus) ContactSuccessAssertion
	AsNotConfirmed() ContactSuccessAssertion
	WithFullName(fullName string) ContactSuccessAssertion
	ForUser(user fixtures.User) ContactSuccessAssertion
	ToCounterparty(user fixtures.User) ContactSuccessAssertion
	WithPubKey(pki string) ContactSuccessAssertion
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL