Use shared test fixtures for ResourceSlice Tracker test cases

This scaffolds almost all of the objects used in tests outside of the
test cases themselves to make the test cases a bit easier to grok at a
glance.

These changes don't perfectly preserve the old test cases bit-for-bit,
but the same meaningful chunks of functionality should still be covered.
The other main benefit is that the checks against emitted events are now
verifying against entire objects instead of being more sparsely tested.
This commit is contained in:
Jon Huhn
2025-04-12 17:02:36 -05:00
parent b15dfce6cb
commit 3883e050fc