Looks good
Sent from my phone
On 06/09/2011 5:38 PM, Daniel Lidström wrote:
Ok, so I'm trying the second approach. Would this be correct?
[Fact]
public void AllControllersExposeThemselvesAsService()
{
var controllersWithWrongName
=InstallerTestHelper.GetHandlersFor(typeof(IController), container)
.Where(c => c.ComponentModel.Services.Any(s => s !=
c.ComponentModel.Implementation))
.ToArray();
Assert.Empty(controllersWithWrongName);
}
/Daniel
--
You received this message because you are subscribed to the Google
Groups "Castle Project Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/castle-project-users/-/Lnj3aSbPuAsJ.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Castle
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.