Created
July 21, 2019 15:53
-
-
Save obegendi/7d2c64a1536b6c137e1a508ce74602ba 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 GaDataProcessShouldSaveAsUnstructured() | |
| { | |
| //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.SaveAsUnstructured()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment