public void testTransformTupleWithSearchExplanation()
{
String[] aliases = new String[] { "__HSearch_Explanation", "_hibernate_class", "foo", "bar" };
Object[] tuple = new Object[] { explanation, String.class, "Hi there!", "Hello right back at ya, buddy!" };
MyModelView myModelView = (MyModelView) sut.transformTuple(tuple, aliases);
assertEquals("Hi there!", myModelView.getFoo());
assertEquals("Hello right back at ya, buddy!", myModelView.getBar());
assertEquals(explanation.toString(), myModelView.getSearchIndexExplanationString());
}