protected void assertExpressionResultInstanceOf(String expressionText, Class<?> expectedType) {
// TODO [hz]: we should refactor TestSupport.assertExpression(Expression, Exchange, Object)
// into 2 methods, a helper that returns the value and use that helper in assertExpression
// Then use the helper here to get the value and move this method to LanguageTestSupport
Language language = assertResolveLanguage(getLanguageName());
Expression expression = language.createExpression(expressionText);
assertNotNull("Cannot assert type when no type is provided", expectedType);
assertNotNull("No Expression could be created for text: " + expressionText + " language: " + language, expression);
Object answer = expression.evaluate(exchange, Object.class);
assertIsInstanceOf(Animal.class, answer);
}