Merge "Upgraded antrun plugin for JaCoCo to 1.6"
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / tosca / converters / HeatStringConverterTest.java
1 package org.openecomp.sdc.be.model.tosca.converters;
2
3 import static org.junit.Assert.assertEquals;
4
5 import java.util.Map;
6
7 import org.junit.Assert;
8 import org.junit.Test;
9 import org.openecomp.sdc.be.model.DataTypeDefinition;
10
11 public class HeatStringConverterTest {
12
13         @Test
14         public void convertString_strWithQuotes_returnStringAsIs() {
15                 String str = "'i'm string with \"quote\"'";
16                 String convert = HeatStringConverter.getInstance().convert(str, null, null);
17                 assertEquals(str, convert);
18         }
19
20         private HeatStringConverter createTestSubject() {
21                 return HeatStringConverter.getInstance();
22         }
23
24         
25         @Test
26         public void testGetInstance() throws Exception {
27                 HeatStringConverter result;
28
29                 // default test
30                 result = HeatStringConverter.getInstance();
31         }
32
33         
34
35
36 }