public void IServiceProviderExtensions_GetMefServiceAsync_NullArgChecks() { IAsyncServiceProvider nullServiceProvider = null; Exceptions.Expect <ArgumentNullException>(() => nullServiceProvider.GetMefServiceAsync <IService>()); Exceptions.Expect <ArgumentNullException>(() => IServiceProviderExtensions.GetMefServiceAsync <IService>(nullServiceProvider)); }