public void AddNotificationsFromAssembly_Should_AddAsyncNotificationHandler_To_ServicesCollection(IUmbracoBuilder sut) { sut.AddNotificationsFromAssembly <CustomizationAttribute>(); var expectedHandlerType = typeof(INotificationAsyncHandler <ContentPublishedNotification>); var handler = sut.Services.SingleOrDefault(x => x.ServiceType == expectedHandlerType); Assert.NotNull(handler); Assert.That(handler.ImplementationType, Is.EqualTo(typeof(StubNotificationHandler))); }