BindaTests.NeededObjectsFactory.CreateForm C# (CSharp) Method

CreateForm() public static method

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