@Test
public void shouldReturnThatHasNoBasePackageWhenInitParamNull() throws ServletException {

when(context.getInitParameter(BasicConfiguration.BASE_PACKAGES_PARAMETER_NAME)).thenReturn(null);
assertThat(config.hasBasePackages(), is(false));
}