public void DiscoverSimpleType()
 {
     using (var domain = new TypeDiscoveryDomain())
     {
         Feature.WithScenario("Discovery a simple interface type")
         .Given(domain.ThisType_ToDiscover, typeof(IRoleProfile))
         .When(domain.TheTypeDiscoveryIsExecuted)
         .Then(domain.This_TypeShouldBeDiscovered, typeof(DefaultAgentProfile))
         .ExecuteWithReport();
     }
 }
 public void DiscoverSimpleType()
 {
     using (var domain = new TypeDiscoveryDomain())
     {
         Feature.WithScenario("Discovery a simple interface type")
             .Given(domain.ThisType_ToDiscover, typeof(IRoleProfile))
             .When(domain.TheTypeDiscoveryIsExecuted)
             .Then(domain.This_TypeShouldBeDiscovered, typeof(DefaultAgentProfile))
             .ExecuteWithReport();
     }
 }
 public void DiscoverGenericType()
 {
     using (var domain = new TypeDiscoveryDomain())
     {
         Feature.WithScenario("Discovery a generic interface type")
         .Given(domain.ThisType_ToDiscover, typeof(IPipelineStep <WebServicePublisherContext>))
         .When(domain.TheTypeDiscoveryIsExecuted)
         .Then(domain.This_TypeShouldBeDiscovered, typeof(SendMessagesStep))
         .ExecuteWithReport();
     }
 }
 public void DiscoverGenericType()
 {
     using (var domain = new TypeDiscoveryDomain())
     {
         Feature.WithScenario("Discovery a generic interface type")
             .Given(domain.ThisType_ToDiscover, typeof(IPipelineStep<WebServicePublisherContext>))
             .When(domain.TheTypeDiscoveryIsExecuted)
             .Then(domain.This_TypeShouldBeDiscovered, typeof(SendMessagesStep))
             .ExecuteWithReport();
     }
 }