github.com/ethersphere/bee/v2@v2.2.0/pkg/statestore/mock/store_test.go (about) 1 // Copyright 2020 The Swarm Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package mock_test 6 7 import ( 8 "testing" 9 10 "github.com/ethersphere/bee/v2/pkg/statestore/mock" 11 "github.com/ethersphere/bee/v2/pkg/statestore/test" 12 "github.com/ethersphere/bee/v2/pkg/storage" 13 ) 14 15 func TestMockStateStore(t *testing.T) { 16 test.Run(t, func(t *testing.T) storage.StateStorer { 17 t.Helper() 18 return mock.NewStateStore() 19 }) 20 }