public void It_should_return_the_intercepted_value() { var retrievedOrderProcessor = InterceptingPart.GetExportedValue(OrderProcessorExportDefinition); retrievedOrderProcessor.ShouldEqual(interceptingOrderProcessor); }
public void It_should_pass_the_value_to_the_value_interceptor() { InterceptingPart.GetExportedValue(OrderProcessorExportDefinition); MockInterceptor.Verify(p => p.Intercept(interceptedOrderProcessor)); }