public static MySampleForm CreateForm() { return new MySampleForm { Title = { Text = TestVariables.Title }, Author = { Text = TestVariables.Author }, Date = { Value = TestVariables.Posted }, Body = { Text = TestVariables.Body } }; }