public async Task Executes_And_Performs_Scheduled_Publishing() { ScheduledPublishing sut = CreateScheduledPublishing(); await sut.PerformExecuteAsync(null); VerifyScheduledPublishingPerformed(); }
public async Task Does_Not_Execute_When_Server_Role_Is_Unknown() { ScheduledPublishing sut = CreateScheduledPublishing(serverRole: ServerRole.Unknown); await sut.PerformExecuteAsync(null); VerifyScheduledPublishingNotPerformed(); }
public async Task Does_Not_Execute_When_Not_Main_Dom() { ScheduledPublishing sut = CreateScheduledPublishing(isMainDom: false); await sut.PerformExecuteAsync(null); VerifyScheduledPublishingNotPerformed(); }
public async Task Does_Not_Execute_When_Runtime_State_Is_Not_Run(RuntimeLevel runtimeLevel) { ScheduledPublishing sut = CreateScheduledPublishing(runtimeLevel: runtimeLevel); await sut.PerformExecuteAsync(null); VerifyScheduledPublishingNotPerformed(); }