func (p testPeer) simulateInput(input inputData) {
	block := &types.Block{Header: types.Header{Height: input.request.Height}}
	input.pool.AddBlock(input.request.PeerID, block, 123)
}
Request desired, pretend like we got the block immediately.
package v0
import (
	"fmt"
	"testing"
	"time"
	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"
	"github.com/line/ostracon/libs/log"
	tmrand "github.com/line/ostracon/libs/rand"
	"github.com/line/ostracon/p2p"
	"github.com/line/ostracon/types"
)
func init() {
	peerTimeout = 2 * time.Second
}
type testPeer struct {
	id        p2p.ID
	base      int64
	height    int64
	inputChan chan inputData  
}
type inputData struct {
	t       *testing.T
	pool    *BlockPool
	request BlockRequest
}
func (p testPeer) runInputRoutine() {
	go func() {
		for input := range p.inputChan {
			p.simulateInput(input)
		}
	}()
}