*/
public void testAttributeCredentials() throws TilesException, IOException {
RoleMockHttpServletRequest request = new RoleMockHttpServletRequest("myrole");
MockHttpSession session = new MockHttpSession();
request.setHttpSession(session);
MockHttpServletResponse response = new MockHttpServletResponse();
Attribute attribute = new Attribute((Object) "This is the value", "myrole");
StringWriter writer = new StringWriter();
container.render(attribute, writer, request, response);
writer.close();
assertEquals("The attribute should have been rendered", writer