public void InterceptsVoidAction() { var kernel = new DefaultKernel <CompositionRoot>(); kernel.Initialize(); kernel.AddVoidAction <CustomAction2>(typeof(CustomAction2).FullName); Assert.ThrowsException <ActionException>(() => kernel.Proxy.InvokeVoid <CustomAction2>("") ); }