// NewMockCollection returns a mock 'Collection' with the given ID and items.
NewMockCollection returns a mock 'Collection' with the given ID and items.
// NewMockCollection returns a mock ' Collection ' with the given ID and items .
func NewMockCollection(id, first, last *url.URL, totalItems int) *vocab.CollectionType {
	return vocab.NewCollection(nil,
		vocab.WithContext(vocab.ContextActivityStreams),
		vocab.WithID(id),
		vocab.WithTotalItems(totalItems),
		vocab.WithFirst(first),
		vocab.WithLast(last),
	)
}
func NewMockCollection ( id , first , last * url . URL , totalItems int ) * vocab . CollectionType { return vocab . NewCollection ( nil , vocab . WithContext ( vocab . ContextActivityStreams ) , vocab . WithID ( id ) , vocab . WithTotalItems ( totalItems ) , vocab . WithFirst ( first ) , vocab . WithLast ( last ) , ) }
NewMockCollection returns a mock 'Collection' with the given ID and items.
NewMockCollection returns a mock ' Collection ' with the given ID and items .