@Test
public void testGetEntityFieldOptionalWithComplexType() {

	Optional<EntityField> entityFieldOptional =
		_sortParserImpl.getEntityFieldOptional(
			_entityModel.getEntityFieldsMap(),
			"complexFieldExternal/fieldInsideComplexFieldExternal");
	Assert.assertTrue(entityFieldOptional.isPresent());
	EntityField entityField = entityFieldOptional.get();
	Assert.assertEquals(
		"fieldInsideComplexFieldExternal", entityField.getName());
}