Skip to content

Commit

Permalink
HK2 binders are providers since jersey-5614
Browse files Browse the repository at this point in the history
  • Loading branch information
zUniQueX authored and renovate[bot] committed Jun 15, 2024
1 parent 22a7fb7 commit 31c59ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
class ProvidersBinderTest {

@Test
void demonstrateThatHk2BinderIsNotPickedUpAsProvider() {
void demonstrateThatHk2BinderIsPickedUpAsProvider() {
org.glassfish.hk2.utilities.Binder binder = new org.glassfish.hk2.utilities.binding.AbstractBinder() {
@Override
protected void configure() {

}
};
assertThat(Providers.isProvider(binder.getClass())).isFalse();
assertThat(Providers.isProvider(binder.getClass())).isTrue();
}

@Test
Expand Down

0 comments on commit 31c59ca

Please sign in to comment.