예제 #1
0
 public void When_Handler_IsRegistered_Should_Resolve()
 {
     using (_resolver.Begin())
     {
         var handler = _resolver.Resolve(typeof(IQuidjiboHandler <BasicCommand>));
         handler.Should().NotBeNull("there should be a matching handler");
         handler.Should().BeOfType <BasicHandler>("the handler should match the command");
     }
 }