示例#1
0
func TestClassic(t *testing.T) {
	m := minion.Classic(minion.Options{})

	tst.AssertNotNil(t, m)
	tst.AssertNotNil(t, m.Router)
}
示例#2
0
func TestNew(t *testing.T) {
	m := minion.New(minion.Options{})

	tst.AssertNotNil(t, m)
	tst.AssertNotNil(t, m.Router)
}