private static IRegistration createRegistration(TransientLifecycle sut)
 {
     return(sut.CreateRegistration(typeof(IEmailService), typeof(NullEmailService)));
 }
        public void CreateRegistration_WhenRegistering_WithNullImplementationType_ShouldThrowArgumentNullException()
        {
            TransientLifecycle sut = createSut();

            Assert.Throws <ArgumentNullException>(() => sut.CreateRegistration(typeof(IEmailService), null));
        }