Example #1
0
        public void Constructor_PassNull_CreatesAnEmptyCollection()
        {
            int dummyNumber = 65;
            AggregatedTransformer transformer = GetTransformer(null);
            string actualResult = transformer.Transform(dummyNumber);

            Assert.IsEmpty(actualResult);
        }
Example #2
0
        public void Transform_PassingNoChildren_ReturnsEmptyString()
        {
            int dummyNumber = 65;
            AggregatedTransformer transformer = GetTransformer();
            string actualResult = transformer.Transform(dummyNumber);

            Assert.IsEmpty(actualResult);
        }