nexusApplication.handlePlexusResourceSecurity(mockResource);
}
@Test
public void handlePlexusResourceSecurityWithoutMismatch() {
final PathProtectionDescriptor descriptor = new PathProtectionDescriptor("/foo/bar/*", "");
Mockito.when(mockResource.getResourceProtection()).thenReturn(descriptor);
Mockito.when(mockResource.getResourceUri()).thenReturn("/foo/bar/{pattern}");
nexusApplication.handlePlexusResourceSecurity(mockResource);
}