// If using Yammer Metrics or running in Dropwizard (which includes Yammer Metrics), you may want a health
// check that pings a service you depend on. This will register a simple check that will confirm the service
// pool contains at least one healthy end point.
HealthCheckRegistry healthChecks = new HealthCheckRegistry();
healthChecks.register("dictionary-user", ContainsHealthyEndPointCheck.forProxy(service));
DictionaryUser user = new DictionaryUser(service);
for (String wordFile : parsedArgs.<String>getList("word-file")) {
user.spellCheck(new File(wordFile));
}