Exemplo n.º 1
0
        public void Apply_WhenNull()
        {
            var target = new ReverseBehavior();
            var result = target.Apply(null);

            Assert.AreEqual(String.Empty, result);
        }
Exemplo n.º 2
0
        public void Apply()
        {
            const string someText = "someText";
            var          target   = new ReverseBehavior();
            var          result   = target.Apply(someText);

            Assert.AreEqual(someText.Reverse(), result);
        }