maybe this should be named `teardownOutletFunc` or `generateTeardownOutlet` to make it more clearly different than all the other teardown* methods in this file?