Class JdbcSongsNTest
java.lang.Object
info.ejava.examples.db.jpa.songs.jdbc.JdbcSongsNTest
@SpringBootTest(classes=NTestConfiguration.class)
@ActiveProfiles(resolver=TestProfileResolver.class)
@Tag("springboot")
public class JdbcSongsNTest
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DataSource
private SongDTOFactory
private JdbcSongDAO
private SongsMapper
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
jdbcDao
-
dtoFactory
-
mapper
-
dataSource
-
-
Constructor Details
-
JdbcSongsNTest
public JdbcSongsNTest()
-
-
Method Details
-
cleanup
- Throws:
SQLException
-
create
- Throws:
SQLException
-
findById_exists
- Throws:
SQLException
-
findById_does_not_exist
- Throws:
SQLException
-
update_exists
- Throws:
SQLException
-
update_does_not_exist
- Throws:
SQLException
-
delete_exists
- Throws:
SQLException
-
delete_does_not_exist
- Throws:
SQLException
-