Skip to content

Commit

Permalink
Fixed test related to recent named component registration change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattburton authored and CoreyKaylor committed Sep 22, 2011
1 parent 70e21ee commit 9cb8144
Showing 1 changed file with 2 additions and 4 deletions.
@@ -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;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 9cb8144

Please sign in to comment.