This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Customer maxMustermannFromDb = customerDAO.find(1001); | |
| System.out.println("expected: " + maxMustermann); | |
| System.out.println("but was: " + maxMustermannFromDb); | |
| assertTrue(maxMustermann.equals(maxMustermannFromDb)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package reproducer; | |
| import org.springframework.context.MessageSource; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.ComponentScan; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.support.ResourceBundleMessageSource; | |
| @Configuration | |
| @ComponentScan("reproducer") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package reproducer; | |
| public interface ServiceInterface { | |
| String exec(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package reproducer; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.stereotype.Service; | |
| @Service | |
| public abstract class AbstractService implements ServiceInterface { | |
| @Autowired | |
| protected KodiUtils util; // injected successful |