@Test
public void shouldReturnBasePackagesArrayWhenInitParamNotNullAndHasComasAndSpaces() throws ServletException {

	when(context.getInitParameter(BasicConfiguration.BASE_PACKAGES_PARAMETER_NAME)).thenReturn("some.packages, \n	  other.packages");
	assertThat(config.getBasePackages(), is(new String[] {"some.packages", "other.packages"}));
}