/// <summary> /// The equals. /// </summary> /// <param name="other"> /// The other. /// </param> /// <returns> /// The <see cref="bool"/>. /// </returns> protected bool Equals(Keyword other) { return string.Equals(this.Name, other.Name) && string.Equals(this.Response, other.Response) && this.Action.Equals(other.Action); }
/// <summary> /// The setup. /// </summary> public override void LocalSetup() { this.keywordRepository = new Mock<IKeywordRepository>(); this.keyword = new Keyword { Action = false, Name = "ab", Response = "ab" }; }
/// <summary> /// The equals. /// </summary> /// <param name="other"> /// The other. /// </param> /// <returns> /// The <see cref="bool"/>. /// </returns> protected bool Equals(Keyword other) { return(string.Equals(this.Name, other.Name) && string.Equals(this.Response, other.Response) && this.Action.Equals(other.Action)); }