Exemplo n.º 1
0
        public void ItThrownWheStringIdIsNull()
        {
            StreamTypeNamer sut = GetSut();
            string          id  = null;

            Assert.Throws <ArgumentNullException>(() => sut.Resolve(typeof(IDomainObject), id));
        }
Exemplo n.º 2
0
        private string ExecuteResolve()
        {
            StreamTypeNamer sut = GetSut();

            string result = sut.Resolve(sampleObject);

            return(result);
        }
Exemplo n.º 3
0
        public void ItThrownWhenDomainObjectNull()
        {
            StreamTypeNamer sut = GetSut();

            Assert.Throws <ArgumentNullException>(() => sut.Resolve((IDomainObject)null));
        }