You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: priority_queue_test.go
    path of file: ./repos/protoactor-go/actor
    
    the code of the file until where you have to start completion: package actor

import (
	"testing"

	"github.com/stretchr/testify/assert"

	"github.com/asynkron/protoactor-go/internal/queue/goring"
	"github.com/asynkron/protoactor-go/internal/queue/mpsc"
)

type Message interface {
	GetMessage() string
}

type TestPriorityMessage struct {
	message  string
	priority int8
}

type TestMessage struct {
	message string
}

func (tpm *TestPriorityMessage) GetPriority() int8 {
	return tpm.priority
}

func (tpm *TestPriorityMessage) GetMessage() string {
	return tpm.message
}

func (tm *TestMessage) GetMessage() string {
	return tm.message
}

func newTestGoringPriorityQueue() *priorityQueue {
	return New
    
func TestPushPopMpscPriority(t *testing.T) {
	q := newTestMpscPriorityQueue()

	// pushes

	for i := 0; i < 2; i++ {
		q.Push(&TestPriorityMessage{
			message:  "7 hello",
			priority: 7,
		})
	}

	for i := 0; i < 2; i++ {
		q.Push(&TestPriorityMessage{
			message:  "5 hello",
			priority: 5,
		})
	}

	for i := 0; i < 2; i++ {
		q.Push(&TestPriorityMessage{
			message:  "0 hello",
			priority: 0,
		})
	}

	for i := 0; i < 2; i++ {
		q.Push(&TestPriorityMessage{
			message:  "6 hello",
			priority: 6,
		})
	}

	for i := 0; i < 2; i++ {
		q.Push(&TestMessage{message: "hello"})
	}

	// pops in priority order

	for i := 0; i < 2; i++ {
		res := q.Pop()
		assert.Equal(t, "7 hello", res.(Message).GetMessage())
	}

	for i := 0; i < 2; i++ {
		res := q.Pop()
		assert.Equal(t, "6 hello", res.(Message).GetMessage())
	}

	for i := 0; i < 2; i++ {
		res := q.Pop()
		assert.Equal(t, "5 hello", res.(Message).GetMessage())
	}

	for i := 0; i < 2; i++ {
		res := q.Pop()
		assert.Equal(t, "hello", res.(Message).GetMessage())
	}

	for i := 0; i < 2; i++ {
		res := q.Pop()
		assert.Equal(t, "0 hello", res.(Message).GetMessage())
	}
}