aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java
blob: 9f000a835a0cef24f90615c837f1071fa000a4b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package org.openecomp.sdc.be.model.tosca.converters;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

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);
	}

	private HeatStringConverter createTestSubject() {
		return HeatStringConverter.getInstance();
	}

	
	@Test
	public void testGetInstance() throws Exception {
		HeatStringConverter result;

		// default test
		result = HeatStringConverter.getInstance();
	}

	


}