public void Should_only_add_unique_assemblies()
        {
            // Arrange
            var context  = new ScannerContext();
            var assembly = GetType().Assembly;

            // Act
            context.AddAssembly(assembly);
            context.AddAssembly(assembly);

            // Assert
            Assert.That(context.AssembliesToScan.Single(), Is.EqualTo(assembly));
        }
        public void Should_throw_when_null()
        {
            // Arrange
            var context = new ScannerContext();

            // Act & Assert
            Assert.Throws <ArgumentNullException>(() => context.AddAssembly(null));
        }