@Test
public void testExecuteSingleNullAttributeIgnore() {

    TilesContainer container = createMock(TilesContainer.class);
    Request request = createMock(Request.class);
    AttributeContext attributeContext = createMock(AttributeContext.class);
    ApplicationContext applicationContext = createMock(ApplicationContext.class);
    Map<String, Object> requestScope = new HashMap<String, Object>();
    requestScope.put(TilesAccess.CURRENT_CONTAINER_ATTRIBUTE_NAME, container);
    expect(request.getApplicationContext()).andReturn(applicationContext);
    expect(request.getContext("request")).andReturn(requestScope).anyTimes();
    expect(container.getAttributeContext(request)).andReturn(attributeContext);
    expect(attributeContext.getAttribute("myName")).andReturn(null);
    replay(container, attributeContext, request, applicationContext);
    model.execute("myName", "request", null, true, request);
    verify(container, attributeContext, request, applicationContext);
}