@Test
public void testClassNamesPackagesOnly() {

    Class expectedClass = TestZuulFilter.class;
    when(configuration.getString(eq("zuul.filters.classes"), anyString())).thenReturn("");
    when(configuration.getString(eq("zuul.filters.packages"), anyString())).thenReturn("com.netflix.zuul.init");
    String[] classNames = module.findClassNames(configuration);
    assertThat(classNames.length, equalTo(1));
    assertThat(classNames[0], equalTo(expectedClass.getCanonicalName()));
}