package integration

import "testing"

func TestDefinitionOwnsCommunicationSurface(t *testing.T) {
	definition := Definition()
	if definition.Name != "integration" || len(definition.Migrations) != 3 || len(definition.Surface.Menus) != 1 || len(definition.Surface.APIs) != 5 {
		t.Fatalf("integration surface = %#v", definition.Surface)
	}
}
