From 9cb8144a3c3dfd96f79097739cee1bd874530c1a Mon Sep 17 00:00:00 2001 From: Matt Burton Date: Wed, 21 Sep 2011 20:17:55 -0700 Subject: [PATCH] Fixed test related to recent named component registration change --- .../Hosting/Can_host_in_another_app_domain.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Rhino.ServiceBus.Tests/Hosting/Can_host_in_another_app_domain.cs b/Rhino.ServiceBus.Tests/Hosting/Can_host_in_another_app_domain.cs index 3bf4e0e..9faa0ec 100644 --- a/Rhino.ServiceBus.Tests/Hosting/Can_host_in_another_app_domain.cs +++ b/Rhino.ServiceBus.Tests/Hosting/Can_host_in_another_app_domain.cs @@ -1,7 +1,5 @@ using System; -using System.Diagnostics; using System.IO; -using System.Reflection; using System.Threading; using Castle.MicroKernel.Registration; using Castle.Windsor; @@ -34,11 +32,11 @@ public Can_host_in_another_app_domain() } [Fact] - public void Components_are_registered_using_name_only() + public void Components_are_registered_using_their_full_name() { var windsorContainer = new WindsorContainer(new XmlInterpreter()); new SimpleBootStrapper(windsorContainer).InitializeContainer(); - var handler = windsorContainer.Kernel.GetHandler(typeof(TestRemoteHandler).Name); + var handler = windsorContainer.Kernel.GetHandler(typeof(TestRemoteHandler).FullName); Assert.NotNull(handler); }