public void Should_remember_current_assembly() { var handler = new TestHandler(); IAssembly activeAssembly = null; handler.OnBeginAssembly = x => activeAssembly = x; var assembly = new AssemblyStub("Test.Assembly"); handler.BeginAssembly(assembly); activeAssembly.ShouldBeSameAs(assembly); }