github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/test/mock/mock_test.go (about) 1 // Copyright (C) 2016 The GoHBase Authors. All rights reserved. 2 // This file is part of GoHBase. 3 // Use of this source code is governed by the Apache License 2.0 4 // that can be found in the COPYING file. 5 6 package mock_test 7 8 import ( 9 "net" 10 11 "github.com/tsuna/gohbase" 12 "github.com/tsuna/gohbase/hrpc" 13 "github.com/tsuna/gohbase/test/mock" 14 regionMock "github.com/tsuna/gohbase/test/mock/region" 15 zkMock "github.com/tsuna/gohbase/test/mock/zk" 16 "github.com/tsuna/gohbase/zk" 17 ) 18 19 var _ gohbase.Client = (*mock.MockClient)(nil) 20 var _ gohbase.RPCClient = (*mock.MockRPCClient)(nil) 21 var _ gohbase.AdminClient = (*mock.MockAdminClient)(nil) 22 var _ hrpc.Call = (*mock.MockCall)(nil) 23 var _ net.Conn = (*mock.MockConn)(nil) 24 var _ zk.Client = (*zkMock.MockClient)(nil) 25 var _ hrpc.RegionClient = (*regionMock.MockRegionClient)(nil)