@Test
public void testDefaultFilterLocations() {

    when(configuration.getStringArray(eq("zuul.filters.locations"))).thenReturn("inbound,outbound,endpoint".split(","));
    String[] filterLocations = module.findFilterLocations(configuration);
    assertThat(filterLocations.length, equalTo(3));
    assertThat(filterLocations[1], equalTo("outbound"));
}