BinderTestUtils
Helpers for specs that register binders in a ServiceBag with tags unique to each spec.
Functions
makeTrackingClass
BinderTestUtils.makeTrackingClass() → TrackingClassReturns a bound class that records its instance and whether it was destroyed.
noopConstructor
BinderTestUtils.noopConstructor() → tableA constructor that does nothing but return an empty table.
setup
BinderTestUtils.setup() → {...}Builds a controller that adds binders, initializes them through a ServiceBag, and cleans up on Destroy.