func (c *MockConfig) NetworkConfig() (*config.NetworkConfig, error) {
	return nil, nil
}
NetworkConfig not implemented
package mocks
import (
	"time"
	config "github.com/hyperledger/fabric-sdk-go/api/apiconfig"
	"github.com/pkg/errors"
	"github.com/hyperledger/fabric-sdk-go/internal/github.com/tjfoc/gmsm/sm2"
	tls "github.com/hyperledger/fabric-sdk-go/internal/github.com/tjfoc/gmtls"
)
type MockConfig struct {
	tlsEnabled       bool
	mutualTLSEnabled bool
	errorCase        bool
}
func NewMockConfig() config.Config {
	return &MockConfig{}
}
func NewMockConfigCustomized(tlsEnabled, mutualTLSEnabled, errorCase bool) config.Config {
	return &MockConfig{tlsEnabled: tlsEnabled, mutualTLSEnabled: mutualTLSEnabled, errorCase: errorCase}
}
func (c *MockConfig) Client() (*config.ClientConfig, error) {
	clientConfig := config.ClientConfig{}
	clientConfig.CredentialStore = config.CredentialStoreType{
		Path: "/tmp/fabsdkgo_test/store",
	}
	if c.mutualTLSEnabled {
		mutualTLSCerts := config.MutualTLSConfig{
			Client: struct {
				KeyPem   string
				Keyfile  string
				CertPem  string
				Certfile string
			}{KeyPem: "", Keyfile: "../../../test/fixtures/config/mutual_tls/client_sdk_go-key.pem", CertPem: "", Certfile: "../../../test/fixtures/config/mutual_tls/client_sdk_go.pem"},
		}
		clientConfig.TLSCerts = mutualTLSCerts
	}
	return &clientConfig, nil
}
func (c *MockConfig) CAConfig(org string) (*config.CAConfig, error) {
	caConfig := config.CAConfig{
		CAName: "org1",
	}
	return &caConfig, nil
}
func (c *MockConfig) CAServerCertPems(org string) ([]string, error) {
	return nil, nil
}
func (c *MockConfig) CAServerCertPaths(org string) ([]string, error) {
	return nil, nil
}
func (c *MockConfig) CAClientKeyPem(org string) (string, error) {
	return "", nil
}
func (c *MockConfig) CAClientKeyPath(org string) (string, error) {
	return "", nil
}
func (c *MockConfig) CAClientCertPem(org string) (string, error) {
	return "", nil
}
func (c *MockConfig) CAClientCertPath(org string) (string, error) {
	return "", nil
}
func (c *MockConfig) TimeoutOrDefault(arg config.TimeoutType) time.Duration {
	return time.Second * 5
}
func (c *MockConfig) PeersConfig(org string) ([]config.PeerConfig, error) {
	return nil, nil
}
func (c *MockConfig) PeerConfig(org string, name string) (*config.PeerConfig, error) {
	return nil, nil
}
func (c *MockConfig) TLSCACertPool(cert ...*sm2.Certificate) (*sm2.CertPool, error) {
	if c.errorCase {
		return nil, errors.New("just to test error scenario")
	}
	return nil, nil
}
func (c *MockConfig) SetTLSCACertPool(pool *sm2.CertPool) {
}
func (c *MockConfig) TcertBatchSize() int {
	return 0
}
func (c *MockConfig) SecurityAlgorithm() string {
	return "SHA2"
}
func (c *MockConfig) SecurityLevel() int {
	return 256
}
func (c *MockConfig) SecurityProviderLibPath() string {
	return ""
}
func (c *MockConfig) OrderersConfig() ([]config.OrdererConfig, error) {
	return nil, nil
}
func (c *MockConfig) RandomOrdererConfig() (*config.OrdererConfig, error) {
	return nil, nil
}
func (c *MockConfig) OrdererConfig(name string) (*config.OrdererConfig, error) {
	oConfig := config.OrdererConfig{
		URL: "example.com",
	}
	return &oConfig, nil
}
func (c *MockConfig) MspID(org string) (string, error) {
	return "", nil
}
func (c *MockConfig) PeerMspID(name string) (string, error) {
	return "", nil
}
func (c *MockConfig) KeyStorePath() string {
	return "/tmp/fabsdkgo_test"
}
func (c *MockConfig) CAKeyStorePath() string {
	return "/tmp/fabsdkgo_test"
}
func (c *MockConfig) CryptoConfigPath() string {
	return ""
}