github.com/ewagmig/fabric@v2.1.1+incompatible/protoutil/configtxutils_test.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package protoutil_test 8 9 import ( 10 "testing" 11 12 "github.com/hyperledger/fabric-protos-go/common" 13 "github.com/hyperledger/fabric/protoutil" 14 "github.com/stretchr/testify/assert" 15 ) 16 17 func TestNewConfigGroup(t *testing.T) { 18 assert.Equal(t, 19 &common.ConfigGroup{ 20 Groups: make(map[string]*common.ConfigGroup), 21 Values: make(map[string]*common.ConfigValue), 22 Policies: make(map[string]*common.ConfigPolicy), 23 }, 24 protoutil.NewConfigGroup(), 25 ) 26 }