public void testCommitsApiWithSpecificCommit() throws Exception
{
RequestBuilder builder = new RequestBuilder("GET");
Request request = builder.setUrl(
UriTemplate.buildFromTemplate(BASE)
.literal(PATH_EXPRESSION)
.build()
.set("user", "damnhandy")
.set("repo", "Handy-URI-Templates")
.set("function","commits")
.set("id","7cdf7ff75f8ede138228ceff7f5a1c18a5835b94")
.expand()).build();
Assert.assertEquals("https://api.github.com/repos/damnhandy/Handy-URI-Templates/commits/7cdf7ff75f8ede138228ceff7f5a1c18a5835b94", request.getUrl());
executeRequest(createClient(), request);
}