getUserByName(name);
}
public void getUserByName(String name) {
SelectBuilder builder = (SelectBuilder)_annotationFactory.select();
User user = builder.mock(User.class);
builder.columns(user.getId(), user.getUserName());
builder.and(user.getUserName(), name);
user = builder.get(User.class);
Assert.assertEquals(name, user.getUserName());
}