public void get(){
String id = "1234L";
String widgetId = "321L";
List<WidgetComment> comments = Lists.newArrayList();
Widget widget = new WidgetImpl(widgetId);
WidgetComment wc = new WidgetCommentImpl(id);
comments.add(wc);
widget.setComments(comments);
expect(template.get(widgetId)).andReturn(widget);
replay(template);
WidgetComment result = repo.getCommentById(widgetId, id);
assertThat(result.getId(), is(equalTo(id)));
}