github.com/MetalBlockchain/metalgo@v1.11.9/vms/platformvm/signer/empty_test.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package signer 5 6 import ( 7 "testing" 8 9 "github.com/stretchr/testify/require" 10 ) 11 12 func TestEmpty(t *testing.T) { 13 require := require.New(t) 14 noSigner := &Empty{} 15 require.NoError(noSigner.Verify()) 16 require.Nil(noSigner.Key()) 17 }