Browse files

Fixed test related to recent named component registration change

  • Loading branch information...
1 parent 70e21ee commit 9cb8144a3c3dfd96f79097739cee1bd874530c1a @mattburton mattburton committed with CoreyKaylor Sep 21, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 Rhino.ServiceBus.Tests/Hosting/Can_host_in_another_app_domain.cs
View
6 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);
}

0 comments on commit 9cb8144

Please sign in to comment.