SHARE
TWEET

Untitled

a guest Apr 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class AnalyticsServicesShould
  2. {
  3.     [Fact]
  4.     public void ReturnSessionCount()
  5.     {
  6.       var service = new AnalyticsServices();
  7.       var sut = service.GetCountAndSave();
  8.       if(DateTime.Today.DayOfWeek == DayOfWeek.Friday){
  9.           Assert.True(sut > 0);
  10.       }else{
  11.       Assert.True(sut == 0);
  12.       }
  13.     }
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top