public void WithThrowingEmptyFallback_Invoke_Success() { OneToOneMap <string> propertyMap = Map(t => t.Value); Assert.Same(propertyMap, propertyMap.WithThrowingEmptyFallback()); Assert.IsType <ThrowFallback>(propertyMap.Pipeline.EmptyFallback); }