summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java
blob: 285dd9a965a7613f9b16dd7630119e957a8e1b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.openecomp.sdc.be.model.tosca.converters;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class HeatStringConverterTest {

    @Test
    public void convertString_strWithQuotes_returnStringAsIs()  {
        String str = "'i'm string with \"quote\"'";
        String convert = HeatStringConverter.getInstance().convert(str, null, null);
        assertEquals(str, convert);
    }

}