I am trying to write a unit test (NUnit) that will:
- Create an instance of some Form.
- Hook up the relevant AssemblyLoad event of the AppDomain to build a List of loaded assembly names.
- If the same assembly is loaded twice, fail.
- Otherwise - pass.
I cannot seem to get the logic for this... The test always passes.
Can this be done ?