verify(repository, pageContext, servletContext, wContext, writer);
}
@Test
public void doStartTag_noResult_ScopeSet() throws IOException, JspException {
Person p = new PersonImpl();
expect(repository.get(null)).andReturn(null);
expect(pageContext.getServletContext()).andReturn(servletContext).anyTimes();
expect(servletContext.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE)).andReturn(wContext).anyTimes();
expect(wContext.getBean(PersonRepository.class)).andReturn(repository).anyTimes();