public void SimpleFuncExportStrategy_GetDecoratorExpression_Throws( SimpleFuncExportStrategy <IBasicService> strategy, IInjectionScope scope, IActivationExpressionRequest request) { Assert.Throws <NotSupportedException>(() => strategy.GetDecoratorActivationExpression(scope, request, null)); }
public void SimpleFuncExportStrategy_AddSecondaryStrategy_Throws( SimpleFuncExportStrategy <IBasicService> strategy) { Assert.Throws <NotSupportedException>(() => strategy.AddSecondaryStrategy(null)); }