Created
July 21, 2019 15:57
-
-
Save obegendi/8941124fb8370f5b6f3f7e809c23f453 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Fact] | |
| public void GaDataProcessShouldNotSaveAsStructured() | |
| { | |
| //Arrange | |
| var gadbServicesMock = new Mock<IGaDbServices>(); | |
| var service = new GoogleAnalyticsServices(gadbServicesMock); | |
| var date = DateTime.Today.AddDays(-2); | |
| //Act | |
| var list = service.GaDataProcess("",date,date.AddDays(1)); | |
| //Assert | |
| gadbServicesMock.Verify(x => x.SaveAsStructured(), Times.Never); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment