BnS_ACT_Plugin.Test.LogParse_Regex.LogParse_Regex_heal_focus C# (CSharp) Method

LogParse_Regex_heal_focus() private method

private LogParse_Regex_heal_focus ( ) : void
return void
        public void LogParse_Regex_heal_focus()
        {
            string testLine = "PLAYER NAME recovered 2 Focus from Grab.";

            Match m = BNS_ACT_Plugin.LogParse.regex_heal.Match(testLine);

            Assert.IsTrue(m.Groups["target"].Success && m.Groups["target"].Value == "PLAYER NAME");
            Assert.IsFalse(m.Groups["HPAmount"].Success);
            Assert.IsTrue(m.Groups["FocusAmount"].Success && m.Groups["FocusAmount"].Value == "2");
            Assert.IsTrue(m.Groups["skill"].Success && m.Groups["skill"].Value == "Grab");
        }