@Test
public void shouldStopContainer() throws ServletException, IOException,
VRaptorException {
when(config.getServletContext()).thenReturn(context);
when(context.getInitParameter(CONTAINER_PROVIDER)).thenReturn(MyProvider.class.getName());
when(container.instanceFor(StaticContentHandler.class)).thenReturn(new DefaultStaticContentHandler(context));
VRaptor vraptor = new VRaptor();
vraptor.init(this.config);
assertThat(started, is(equalTo(true)));
assertThat(stoped, is(equalTo(false)));