public void TestCreateAuthenticatorConstructor()
        {
            var codeType = new CodeTypeDeclaration("TestClass");
            var decorator = new EasyConstructServiceDecorator();
            var service = CreateBuzzService();
            CodeConstructor constructor = decorator.CreateAuthenticatorConstructor(service, codeType);

            // Check parameters.
            Assert.AreEqual(1, constructor.Parameters.Count);
            Assert.AreEqual(typeof(IAuthenticator).FullName, constructor.Parameters[0].Type.BaseType);
            Assert.AreEqual(ServiceClassGenerator.AuthenticatorName, constructor.Parameters[0].Name);

            // Check statements.
            Assert.AreEqual(0, constructor.Statements.Count);

            // Check chained parameters.
            Assert.AreEqual(2, constructor.ChainedConstructorArgs.Count);
        }