public void Adds_generic_type_ok()
        {
            var collection = new ImmutableTypeCollection();

            Assert.IsFalse(collection.Contains(typeof(GenericSample <int>)));
            collection.Add(typeof(GenericSample <string>));
            Assert.IsTrue(collection.Contains(typeof(GenericSample <double>)));
        }
        public void Adds_type_ok()
        {
            var collection = new ImmutableTypeCollection();

            Assert.IsFalse(collection.Contains(typeof(Sample)));
            collection.Add(typeof(Sample));
            Assert.IsTrue(collection.Contains(typeof(Sample)));
        }
        public void Contains_some_default_type()
        {
            var collection = new ImmutableTypeCollection();

            Assert.IsTrue(collection.Contains(typeof(string)));
        }
        public void Contains_null_type_should_throw_exception()
        {
            var collection = new ImmutableTypeCollection();

            collection.Contains(null);
        }