Aggregates a number of IMethodCallTransformerProvider instances, checking each of them when the GetTransformer is called, until one of them returns a IMethodCallTransformer.
Inheritance: IMethodCallTransformerProvider
    public void GetTransformer ()
    {
      var registryMock = MockRepository.GenerateStrictMock<IMethodCallTransformerProvider>();
      var methodCallTransformerRegistry = new CompoundMethodCallTransformerProvider (registryMock);
      var methodCallExpression = ExpressionHelper.CreateMethodCallExpression<Cook>();
      var fakeTransformer = new ContainsFulltextMethodCallTransformer();

      registryMock
          .Expect (mock => mock.GetTransformer (methodCallExpression))
          .Return (fakeTransformer);
      registryMock.Replay();

      var result = methodCallTransformerRegistry.GetTransformer (methodCallExpression);

      registryMock.VerifyAllExpectations();
      Assert.That (result, Is.SameAs (fakeTransformer));
    }