Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
StringAppendTestTransformer |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.tck.functional; | |
8 | ||
9 | import org.mule.transformer.simple.StringAppendTransformer; | |
10 | ||
11 | public class StringAppendTestTransformer extends StringAppendTransformer | |
12 | { | |
13 | ||
14 | public static final String DEFAULT_TEXT = " transformed"; | |
15 | ||
16 | public StringAppendTestTransformer() | |
17 | 0 | { |
18 | 0 | setMessage(DEFAULT_TEXT); |
19 | 0 | } |
20 | ||
21 | public static String appendDefault(String msg) | |
22 | { | |
23 | 0 | return append(DEFAULT_TEXT, msg); |
24 | } | |
25 | ||
26 | } |