public static Email EnqueuedEmail(this ITestFixture fixture) { var job = fixture.EnqueuedJob <EmailJob>(); if (job == null) { throw new MiruException("There is no EmailJob queued"); } return(job.Email); }
public static Email EnqueuedEmail(this ITestFixture fixture) { var job = fixture.EnqueuedJob <EmailJob>(); if (job == null) { throw new MiruException("There is no EmailJob queued"); } return(job.Email); }