public void Log4NetAspectTest2() { TestClass2 cut = new TestClass2(); cut.Method1(); cut.Method2(32); cut.Method3(567, "Hello dolly"); try { cut.Method4(); } catch (Exception) { } Assert.IsTrue(File.Exists(FilePath)); }