public void CreateDefault()
        {
            NameBasedMethodCallTransformerRegistry registry = NameBasedMethodCallTransformerRegistry.CreateDefault();

            registry.Register("Test", new TestNameBasedMethodCallTransformer());

            AssertAllMethodsRegistered(registry, typeof(TestNameBasedMethodCallTransformer));
        }
        public void Register_NewMethod()
        {
            _methodCallTransformerRegistry.Register(_methodName, _transformerStub);

            var expectedTransformer = _methodCallTransformerRegistry.GetItem(_methodName);

            Assert.That(_transformerStub, Is.SameAs(expectedTransformer));
        }