@Test
public void shouldThrowExceptionWhenProviderClassWasNotFound() throws ServletException {

when(context.getInitParameter(BasicConfiguration.CONTAINER_PROVIDER)).thenReturn("UnknowClass");

try {
	config.getProvider();
	fail();
} catch (IllegalArgumentException e) {
		assertThat(e.getMessage(), startsWith("You must configure"));
	}
}