From 21da2f5e99e7cb04363566d8531a6146feef1dea Mon Sep 17 00:00:00 2001
From: Sydney Anne Erickson <sydney@elixxir.io>
Date: Wed, 25 May 2022 11:14:57 -0700
Subject: [PATCH] utils_test.go: implement stubs of missing functions

---
 connect/utils_test.go | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/connect/utils_test.go b/connect/utils_test.go
index 39f518b15..2d5bb68cf 100644
--- a/connect/utils_test.go
+++ b/connect/utils_test.go
@@ -83,11 +83,11 @@ func (m mockPartner) Contact() contact.Contact {
 	}
 }
 
-func (m mockPartner) PopSendCypher() (*session.Cypher, error) {
+func (m mockPartner) PopSendCypher() (session.Cypher, error) {
 	return nil, nil
 }
 
-func (m mockPartner) PopRekeyCypher() (*session.Cypher, error) {
+func (m mockPartner) PopRekeyCypher() (session.Cypher, error) {
 	return nil, nil
 }
 
@@ -143,6 +143,22 @@ func newMockConnection(partnerId, myId *id.ID,
 	}
 }
 
+func (m mockConnection) FirstPartitionSize() uint {
+	return 0
+}
+
+func (m mockConnection) SecondPartitionSize() uint {
+	return 0
+}
+
+func (m mockConnection) PartitionSize(payloadIndex uint) uint {
+	return 0
+}
+
+func (m mockConnection) PayloadSize() uint {
+	return 0
+}
+
 func (m mockConnection) Close() error {
 	return nil
 }
-- 
GitLab