@Test
public void shouldIncludeTheApplicationContextOnTheRootApplicationContextParamIfNotSet() throws Exception {

	when(servletContext.getAttributeNames()).thenReturn(enumeration(Collections.<String> emptyList()));
	
	defaultExpectations();
	
	SpringProvider provider = new SpringProvider();
	provider.start(servletContext);
	
	verify(servletContext).setAttribute(eq(ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE), isA(WebApplicationContext.class));
}