summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/test/utils/Level2TestDataFactory.java
blob: b1eb0f5f97fbaf0f57c23964d5e8976605bdb00a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.uic.barcode.test.utils;

import org.uic.barcode.asn1.datatypesimpl.OctetString;
import org.uic.barcode.dynamicFrame.DataType;

public class Level2TestDataFactory {
	
	public static DataType getLevel2SimpleTestData() {
		
		String testContent = "2020.10.01T12:12.20";
		
		DataType level2Data = new DataType();
		level2Data.setFormat("TEST");
		level2Data.setData(new OctetString(testContent.getBytes()));
		
		return level2Data;
	}

}