@ -123,7 +123,7 @@ public class ExposeExcludePropertyEndpointFilterTests {
@@ -123,7 +123,7 @@ public class ExposeExcludePropertyEndpointFilterTests {
@Test
public void matchWhenDiscovererDoesNotMatchShouldMatch ( ) {
MockEnvironment environment = new MockEnvironment ( ) ;
environment . setProperty ( "foo.expos e" , "bar" ) ;
environment . setProperty ( "foo.includ e" , "bar" ) ;
environment . setProperty ( "foo.exclude" , "" ) ;
this . filter = new ExposeExcludePropertyEndpointFilter < > (
DifferentTestExposableWebEndpoint . class , environment , "foo" ) ;
@ -146,9 +146,9 @@ public class ExposeExcludePropertyEndpointFilterTests {
@@ -146,9 +146,9 @@ public class ExposeExcludePropertyEndpointFilterTests {
assertThat ( match ( "buz" ) ) . isFalse ( ) ;
}
private void setupFilter ( String expos e, String exclude ) {
private void setupFilter ( String includ e, String exclude ) {
MockEnvironment environment = new MockEnvironment ( ) ;
environment . setProperty ( "foo.expose" , expos e ) ;
environment . setProperty ( "foo.include" , includ e ) ;
environment . setProperty ( "foo.exclude" , exclude ) ;
this . filter = new ExposeExcludePropertyEndpointFilter < > (
TestExposableWebEndpoint . class , environment , "foo" , "def" ) ;