public void AddMethod(Method method) { _tag.AddMethod(method); Assert.AreEqual(_tag.ToString(), $"<form method=\"{method.LiteralValue()}\"></form>"); }