### Question:
ShogunCoreAuthenticationProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> authentication) { return (UsernamePasswordAuthenticationToken.class .isAssignableFrom(authentication)); }  @Override @Transactional(value = "transactionManager", readOnly = true) Authentication authenticate(Authentication authentication); @Override boolean supports(Class<?> authentication); PasswordEncoder getPasswordEncoder(); void setPasswordEncoder(PasswordEncoder passwordEncoder);  }### Answer:
@Test public void authentication_supportsUsernamePassword() { Assert.assertTrue("Authentication supports UsernamePasswordAuthenticationToken", authProvider.supports(UsernamePasswordAuthenticationToken.class)); }