/// <summary>
        /// Set the library properties
        /// </summary>
        /// <param name="rule">
        /// The <see cref="BuiltInRule"/> from which the library name and version are queried.
        /// </param>
        private void SetLibraryProperties(BuiltInRule rule)
        {
            var assembly = rule.GetType().Assembly;

            this.LibraryName    = assembly.GetName().Name;
            this.LibraryVersion = assembly.GetName().Version.ToString();
        }
        public void SetUp()
        {
            this.draginfo = new Mock <IDragInfo>();

            this.iBuiltInRuleMetaData = new Mock <IBuiltInRuleMetaData>();
            this.iBuiltInRuleMetaData.Setup(x => x.Author).Returns("RHEA");
            this.iBuiltInRuleMetaData.Setup(x => x.Name).Returns("shortnamerule");
            this.iBuiltInRuleMetaData.Setup(x => x.Description).Returns("verifies that the shortnames are correct");

            this.builtInRule = new TestBuiltInRule();
        }