示例#1
0
 public static void ClassInit(TestContext context)
 {
     calendarService = new CalendarService(new GoogleCalendarAPI(MockGoogleServiceClient.GetCalendarService()), EventSource.Google);
 }
示例#2
0
        public static void ClassInit(TestContext context)
        {
            var mockGoogleServiceClient = new MockGoogleServiceClient();

            MailService = new GMailService(mockGoogleServiceClient.GetMockGraphServiceClient().Object);
        }
 public void TestInit()
 {
     calendarService = new CalendarService(new GoogleCalendarAPI(MockGoogleServiceClient.GetCalendarService()), EventSource.Google);
 }