internal static void AddPropertyAlerts(int count, string propRef) { PropertyAlertsApiResponse mockAlerts = StubPropertyAlertApiResponse(count, propRef).Generate(); MockPropertyAlertsGoogleSheetApiResponses.Add(mockAlerts); }
public static object HandlePropertyAlertsSheet(string propertyReference) { return(MockPropertyAlertsGoogleSheetApiResponses.Where(res => res.PropertyReference == propertyReference).LastOrDefault()); }