*
*/
public class EdmSimpleTypeFacadeTest extends BaseTest {
public static void parse(final String literal, final EdmSimpleType expectedType) throws EdmLiteralException {
final EdmLiteral uriLiteral = EdmSimpleTypeKind.parseUriLiteral(literal);
assertNotNull(uriLiteral);
if (!expectedType.equals(EdmNull.getInstance())) {
assertNotNull(uriLiteral.getLiteral());
assertTrue(uriLiteral.getLiteral().length() > 0);
}
assertNotNull(uriLiteral.getType());
assertEquals(expectedType, uriLiteral.getType());
}