Ejemplo n.º 1
0
        public void WithInvalidFallback_Invoke_Success()
        {
            OneToOneMap <string> propertyMap = Map(t => t.Value);

            Assert.Same(propertyMap, propertyMap.WithInvalidFallback("abc"));

            FixedValueFallback fallback = Assert.IsType <FixedValueFallback>(propertyMap.Pipeline.InvalidFallback);

            Assert.Equal("abc", fallback.Value);
        }