3 ms·
No need to create interfaces generally in spring when there will only be one class implementing. For testing, mocks can be created directly from the actual clas
by eweise 6y ago
No need to create interfaces generally in spring when there will only be one class implementing. For testing, mocks can be created directly from the actual classes.