public static void AddParametersToGetMessageGroupsTest(MessageVmType type, int page, int size) { RequestHelperInt.pRequestGetMessagesUFR .AddParameter("type", type, ParameterType.QueryString) .AddParameter("page", page, ParameterType.QueryString) .AddParameter("size", size, ParameterType.QueryString); }
public static IEnumerable <TestCaseData> GetMessagesTestTestData() { MessageVmType type = MessageVmType.All; yield return(new TestCaseData(type, CustomRequestInt.GetSettingByKey <string>("AccountId"), CustomRequestInt.GetSettingByKey <int>("pageForGetMessages"), CustomRequestInt.GetSettingByKey <int>("size"), 200)); }