Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordAsserter ¶
type RecordAsserter struct {
// contains filtered or unexported fields
}
func NewRecordAsserter ¶
func NewRecordAsserter(t *testing.T, resource string) *RecordAsserter
func (*RecordAsserter) NotExists ¶
func (ra *RecordAsserter) NotExists(ids ...string)
type RecordCreator ¶
type RecordCreator struct {
// contains filtered or unexported fields
}
func NewRecordCreator ¶
func NewRecordCreator(t *testing.T, resource string, flushToServer bool) *RecordCreator
func (*RecordCreator) Cleanup ¶
func (rc *RecordCreator) Cleanup()
Cleanup deletes all created records from hubspot.
func (*RecordCreator) NewTestCreateRecord ¶
func (rc *RecordCreator) NewTestCreateRecord() sdk.Record
NewTestCreateRecord creates a test record with sdk.OperationCreate.
func (*RecordCreator) NewTestDeleteRecord ¶
func (rc *RecordCreator) NewTestDeleteRecord(id string) sdk.Record
NewTestDeleteRecord creates a test record with sdk.OperationDelete.
func (*RecordCreator) NewTestUpdateRecord ¶
func (rc *RecordCreator) NewTestUpdateRecord(id string) sdk.Record
NewTestUpdateRecord creates a test record with sdk.OperationUpdate.
Click to show internal directories.
Click to hide internal directories.