@@ -0,0 +1,1703 @@
+/**%0D%0A * Copyright (c) 2008-2011, http://www.snakeyaml.org%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A * you may not use this file except in compliance with the License.%0D%0A * You may obtain a copy of the License at%0D%0A *%0D%0A *     http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A * See the License for the specific language governing permissions and%0D%0A * limitations under the License.%0D%0A */%0D%0A%0D%0Apackage org.yaml.snakeyaml.emitter;%0D%0A%0D%0Aimport java.util.Map;%0D%0A%0D%0Aimport junit.framework.TestCase;%0D%0A%0D%0Aimport org.yaml.snakeyaml.Yaml;%0D%0A%0D%0Apublic class EmitterMultiLineTest extends TestCase %7B%0D%0A%0D%0A    public void testWriteMultiLinePlain() %7B%0D%0A        String plain = %22mama%5Cnmila%5Cnramu%22;%0D%0A        Yaml yaml = new Yaml();%0D%0A        String output = yaml.dump(plain);%0D%0A        // System.out.println(output);%0D%0A        assertEquals(%22'mama%5Cn%5Cn  mila%5Cn%5Cn  ramu'%5Cn%22, output);%0D%0A        String parsed = (String) yaml.load(output);%0D%0A        // System.out.println(parsed);%0D%0A        assertEquals(plain, parsed);%0D%0A    %7D%0D%0A%0D%0A    public void testWriteMultiLineLiteral() %7B%0D%0A        String source = %22a: 1%5Cnb: %7C-%5Cn  mama%5Cn  mila%5Cn  ramu%5Cn%22;%0D%0A        // System.out.println(%22Source:%5Cn%22 + source);%0D%0A        Yaml yaml = new Yaml();%0D%0A        @SuppressWarnings(%22unchecked%22)%0D%0A        Map%3CString, Object%3E parsed = (Map%3CString, Object%3E) yaml.load(source);%0D%0A        String value = (String) parsed.get(%22b%22);%0D%0A        // System.out.println(value);%0D%0A        assertEquals(%22mama%5Cnmila%5Cnramu%22, value);%0D%0A    %7D%0D%0A%7D%0D%0A

Add EmitterMultiLineTest