code: func (m *MockBroadcastServer) Deliver(server po.AtomicBroadcast_DeliverServer) error {
  	if m.DeliverError != nil {
  		return m.DeliverError
  	}
  
  	if m.DeliverResponse != nil {
  		if _, err := server.Recv(); err != nil {
  			return err
  		}
  		if err := server.SendMsg(m.DeliverResponse); err != nil {
  			return err
  		}
  		return nil
  	}
  
  	if _, err := server.Recv(); err != nil {
  		return err
  	}
  	if err := server.Send(TestBlock); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // Deliver mock deliver