github.com/true-sqn/fabric@v2.1.1+incompatible/core/dispatcher/dispatcher_suite_test.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package dispatcher_test 8 9 import ( 10 "testing" 11 12 "github.com/hyperledger/fabric/core/dispatcher" 13 14 . "github.com/onsi/ginkgo" 15 . "github.com/onsi/gomega" 16 ) 17 18 //go:generate counterfeiter -o mock/protobuf.go --fake-name Protobuf . protobuf 19 type protobuf interface { 20 dispatcher.Protobuf 21 } 22 23 func TestDispatcher(t *testing.T) { 24 RegisterFailHandler(Fail) 25 RunSpecs(t, "Dispatcher Suite") 26 }