I'm instantiating Excel interop objects in my project. I know that special effort is required to clean up those objects (see this question). Is there any automated way to verify that the cleanup was done properly?
To elaborate, I'm aware that when cleanup is not done properly, Excel.exe may continue running after Application.Quit is called. However, it is not clear to me whether that is a reliable test condition. Also, since a lingering Excel.exe process is merely a symptom of the true dysfunction, it would seem preferable to use a test condition closer to the root cause, if such a condition exists.