go-pattern-examples/behavior/02_option/functional_options_test.go

16 lines
256 B
Go
Raw Normal View History

2020-04-27 05:27:37 +03:00
package option
import (
"testing"
)
func TestFileFunctionOptions(t *testing.T) {
Introduce("tom", Gender(true), Company("land company"))
Introduce("lily", Company("sky commnay"), UID(123))
Introduce("admin", Company("risky commnay"), UID(883))
}