• Phillip Webb's avatar
    Update @MockBean to support generics · a985a5c8
    Phillip Webb authored
    Update @MockBean and @SpyBean to support field generics. Prior to this
    commit the following fields would fail with a "Duplicate mock
    definition" exception:
    
      @MockBean
      private IdentityProvider<PasswordIdentity> passwordIdentityProvider;
    
      @MockBean
      private IdentityProvider<Oauth2Identity> oauth2IdentityProvider;
    
    Fixes gh-6602
    a985a5c8
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...