public void ShouldFailInTryingToFindOperationByName()
        {
            var map = new OperationMap();

            Type foundType;
            var  success = map.TryGetMappedOperation("InvalidOperationType", out foundType);

            success.ShouldBeFalse();
            foundType.ShouldBeNull();
        }
        public void ShouldSucceedInTryingToFindOperationByName()
        {
            var map             = new OperationMap();
            var mappedOperation = map.MapOperation(typeof(TestOperation));

            Type foundType;
            var  success = map.TryGetMappedOperation("TestOperation", out foundType);

            success.ShouldBeTrue();
            foundType.ShouldBe(mappedOperation.OperationType);
        }