func binding(roleRef rbacv1.RoleRef, subjects []rbacv1.Subject) *rbacv1.ClusterRoleBinding { … } func ref(name string) rbacv1.RoleRef { … } func subject(name string) rbacv1.Subject { … } func subjects(names ...string) []rbacv1.Subject { … } func TestDiffObjectReferenceLists(t *testing.T) { … } func TestComputeUpdate(t *testing.T) { … }