21 lines
277 B
Go
21 lines
277 B
Go
package subjects
|
|
|
|
import (
|
|
"log"
|
|
"testing"
|
|
"feudal/feudal"
|
|
)
|
|
|
|
func setupSubjects() feudal.Subjects {
|
|
s := New()
|
|
if s == nil {
|
|
log.Fatal("Failed creating new Subjects")
|
|
}
|
|
return s
|
|
}
|
|
|
|
func TestSubjectsSend(t *testing.T) {
|
|
s := setupSubjects()
|
|
s.Send(nil)
|
|
}
|