func TestControllerSyncPool(t *testing.T) { … } func newNode(name string, uid types.UID) *v1.Node { … } func newResourceSlice(name, nodeName, driveName, poolName string, poolGeneration int64) *resourceapi.ResourceSlice { … } func newExpectResourceSlice(name, nodeName, nodeUID, driveName, poolName, deviceName string, generateName bool, poolGeneration int64) *resourceapi.ResourceSlice { … }