@Test
public void shouldAllowProviderOverriding() throws ServletException {

when(context.getInitParameter(BasicConfiguration.CONTAINER_PROVIDER))
	.thenReturn(MyCustomProvider.class.getName());
assertThat(config.getProvider().getClass(), Matchers.is(Matchers
	.typeCompatibleWith(MyCustomProvider.class)));
}