@Test
public void testComputeAttributeInCall() {

    TilesContainer container = createMock(TilesContainer.class);
    Request request = createMock(Request.class);
    Attribute attribute = new Attribute("myValue", Expression
            .createExpression("myExpression", null), "myRole", "myRenderer");
    replay(container, request);
    assertEquals(attribute, resolver.computeAttribute(container, attribute,
            null, null, false, null, null, null, request));
    verify(container, request);
}