public void TestFixtureSetUp()
    {
      _simpleCaseWeaver = new ModuleWeaverTestHelper(
        @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.SimpleCase.dll");
      Assert.That(_simpleCaseWeaver.Errors, Is.Null.Or.Empty);

      _simpleCaseExportableType = _simpleCaseWeaver.GetType(
        "AssemblyToProcess.SimpleCase.IExportable");
    }
    public void TestFixtureSetUp()
    {
      _multipleWeaver = new ModuleWeaverTestHelper(
        @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.MultipleExports.dll");
      Assert.That(_multipleWeaver.Errors, Is.Null.Or.Empty);

      _fooExporterType = _multipleWeaver.GetType(
        "AssemblyToProcess.MultipleExports.IFooExporter");
      _barExporterType = _multipleWeaver.GetType(
        "AssemblyToProcess.MultipleExports.IBarExporter");
    }
    public void TestFixtureSetUp()
    {
      _unsignedWeaver = new ModuleWeaverTestHelper(
        @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.Unsigned.dll");
      Assert.That(_unsignedWeaver.Errors, Is.Null.Or.Empty);

      _signedWeaver = new ModuleWeaverTestHelper(
        @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.Signed.dll");
      Assert.That(_signedWeaver.Errors, Is.Null.Or.Empty);

      var directoryName = Path.GetDirectoryName(_unsignedWeaver.Assembly.Location);
      Debug.Assert(null != directoryName);

      _coreExportableType = Assembly.LoadFile(Path.GetFullPath(
        Path.Combine(directoryName, "AssemblyToProcess.Core.dll")))
        .GetType("AssemblyToProcess.Core.IExportable", true);

      AppDomain.CurrentDomain.AssemblyResolve += (_, e) => Assembly.LoadFile(
        Path.Combine(directoryName, $"{e.Name.Split(',')[0]}.dll"));
    }