Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestServer ¶
type TestServer struct {
// contains filtered or unexported fields
}
TestServer testing server that simulates Epay requestor
func NewServer ¶
func NewServer(t *testing.T, host string) (*TestServer, func())
NewServer creates a new testing epay server that tries to connect to the provided host
func (*TestServer) DummyRequest ¶
func (f *TestServer) DummyRequest(cmd string) string
DummyRequest allows sending of dummy request to the target epay adapter
func (*TestServer) GetCurrentBill ¶
func (f *TestServer) GetCurrentBill(customerID, transactionID string) string
GetCurrentBill asks for duties of a given customer
Click to show internal directories.
Click to hide internal directories.