Autocompleter component = newInstance(Autocompleter.class, new Object[]
{ "name", "fred", "model", model,
"filter", "l", "dataSqueezer", ds });
expect(ds.squeeze(1)).andReturn("1");
expect(ds.squeeze(2)).andReturn("2");
expect(ds.squeeze(3)).andReturn("3");
replay();
component.renderComponent(writer, cycle);