func TestNew(t *testing.T) {
	type args struct {
		opts []Option
	}
	type test struct {
		name    string
		args    args
		want    Processor
		wantErr bool
	}
	tests := []test{
		{
			name: "new success",
			args: args{
				opts: nil,
			},
			want: &rtp{
				nil,
			},
			wantErr: false,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			got, err := New(tt.args.opts...)
			if (err != nil) != tt.wantErr {
				t.Errorf("New() error = %v", err)
				return
			}
			if !reflect.DeepEqual(got, tt.want) {
				t.Errorf("New() = %v, want %v", got, tt.want)
			}
		})
	}
}
test data is generated by `role/asserts/private.pem`
package role
import (
	"fmt"
	"reflect"
	"testing"
	"time"
	authcore "github.com/AthenZ/athenz/libs/go/zmssvctoken"
	"github.com/kpango/fastime"
	"github.com/yahoojapan/athenz-authorizer/v5/pubkey"
)