コード例 #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);
        }
コード例 #3
0
 public void TestInit()
 {
     calendarService = new CalendarService(new GoogleCalendarAPI(MockGoogleServiceClient.GetCalendarService()), EventSource.Google);
 }