You don't. You test the enclosing function. The nested function is just an implementation detail like any other line of code in that function.
You don't. You test the enclosing function. The nested function is just an implementation detail like any other line of code in that function.