private static string WriteTheEmail() { var emailBlast = fanBoy.WriteBlast(); WriteLine(emailBlast); WriteLine(); return(emailBlast); }
public void WriteEmailBlast() { var subscriber = new NumberFan(); var result = subscriber.WriteBlast(); result.ShouldNotBeEmpty(); }
public void WriteBlastBasedOnUpdate() { var subscriber = new NumberFan(); var testNumber = 5; subscriber.Notify(5); var result = subscriber.WriteBlast(); result.ShouldContain(testNumber.ToString()); }