Object[] offspringArguments = new Object[] { new Offspring() {
} };
String methodName = "visit";
Statement statement = null;
statement = new Statement(new StringInspector(), "visit",
ancestorArguments);
statement.execute();
TInspectorCluster.assertMethodCalled(methodName, ancestorArguments,
TInspectorCluster.ANCESTOR_STRING);
statement = new Statement(new StringInspector(), "visit",
offspringArguments);
statement.execute();
TInspectorCluster.assertMethodCalled(methodName, offspringArguments,
TInspectorCluster.OFFSPRING_STRING);