use of org.mule.metadata.api.builder.StringTypeBuilder in project mule by mulesoft.
the class IntrospectionUtilsTestCase method getDataTypeFromString.
@Test
public void getDataTypeFromString() {
StringTypeBuilder typeBuilder = BaseTypeBuilder.create(JAVA).stringType();
DataType dataType = toDataType(typeBuilder.build());
assertThat(dataType.getType(), is(equalTo(String.class)));
}
Aggregations