public void Create_InvalidCalendarUrl_ThrowsException() { var creds = new GooCalCreds(); creds.OverrideCalendarUrl( _creds.CalendarUrl.Replace( "/private/", "/public/" ) ); // ReSharper disable once UnusedVariable ICalendarPurge purge = CalendarPurgeFactory.Create( creds ); }
internal static GooCalCreds CreateAndValidate() { var creds = new GooCalCreds(); Assert.IsFalse( string.IsNullOrWhiteSpace( creds.UserName ) ); Assert.IsFalse( string.IsNullOrWhiteSpace( creds.Password ) ); Assert.IsFalse( string.IsNullOrWhiteSpace( creds.CalendarUrl ) ); return creds; }