* @throws TilesException If a problem arises during rendering.
* @throws IOException If a problem arises during rendering or writing in the writer.
*/
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);