<NME> WithAttributeTests.cs
<BEF> ADDFILE
<MSG> move to an attribute assembly

<DFF> @@ -0,0 +1,37 @@
+﻿using System;
+using System.IO;
+using NUnit.Framework;
+
+[TestFixture]
+public class WithAttributeTests
+{
+    AssemblyWeaver assemblyWeaver;
+
+    public WithAttributeTests()
+    {
+        var assemblyPath = Path.GetFullPath(@"..\..\..\AssemblyToProcess\bin\DebugWithAttribute\AssemblyToProcess.dll");
+        assemblyWeaver = new AssemblyWeaver(assemblyPath);
+    }
+
+    [Test]
+    public void ClassWithNoAttribute()
+    {
+        var message = DebugRunner.CaptureDebug(() =>
+            {
+                var type = assemblyWeaver.Assembly.GetType("ClassWithNoAttribute");
+                var instance = (dynamic) Activator.CreateInstance(type);
+                instance.Method();
+            });
+        Assert.IsTrue(message.StartsWith("ClassWithNoAttribute.Method "));
+    }
+
+
+#if(DEBUG)
+    [Test]
+    public void PeVerify()
+    {
+        Verifier.Verify(assemblyWeaver.Assembly.CodeBase.Remove(0, 8));
+    }
+#endif
+
+}
\ No newline at end of file

move to an attribute assembly