.add("counterBean", counter)
.add("mySpecialBean", new SpecialBean()));
RestLiConfig config = new RestLiConfig();
config.addResourcePackageNames("com.linkedin.restli.server.mock");
RestLiServer server = new RestLiServer(config, factory);
server.handleRequest(new MockRequest(), new RequestContext(), new Callback<RestResponse>()
{
@Override
public void onError(Throwable e)
{
Assert.fail("expected success response");