// Path: src/test/java/com/github/arteam/jdit/domain/TeamSqlObject.java
// @RegisterRowMapper(PlayerSqlObject.PlayerMapper.class)
// public interface TeamSqlObject {
// 
//     @CreateSqlObject
//     PlayerSqlObject playerDao();
// 
//     @SqlUpdate("insert into teams(name, division) values (:name, :division)")
//     @GetGeneratedKeys
//     long createTeam(@Bind("name") String name, @Bind("division") Division division);
// 
//     @SqlUpdate("insert into roster(team_id, player_id) values (:team_id, :player_id)")
//     void addPlayerToTeam(@Bind("team_id") long teamId, @Bind("player_id") long playerId);
// 
//     @Transaction
//     default void addTeam(Team team, List<Player> players) {
//         long teamId = createTeam(team.name, team.division);
//         for (Player player : players) {
//             long playerId = playerDao().createPlayer(player);
//             addPlayerToTeam(teamId, playerId);
//         }
//     }
// 
//     @SqlQuery("select * from players p " +
//             "inner join roster r on r.player_id=p.id " +
//             "inner join teams t on r.team_id=t.id " +
//             "where t.name = :team_name " +
//             "order by p.last_name")
//     List<Player> getPlayers(@Bind("team_name") String teamName);
// }


import com.github.arteam.jdit.annotations.DataSet;
import com.github.arteam.jdit.annotations.JditProperties;
import com.github.arteam.jdit.annotations.TestedSqlObject;
import com.github.arteam.jdit.domain.TeamSqlObject;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.assertj.core.api.Assertions.assertThat;
package com.github.arteam.jdit;



@RunWith(DBIRunner.class)
@JditProperties("jdit-schema-directory.properties")
public class TestDirectoryMigration {

    @TestedSqlObject
// Path: src/test/java/com/github/arteam/jdit/domain/TeamSqlObject.java
// @RegisterRowMapper(PlayerSqlObject.PlayerMapper.class)
// public interface TeamSqlObject {
// 
//     @CreateSqlObject
//     PlayerSqlObject playerDao();
// 
//     @SqlUpdate("insert into teams(name, division) values (:name, :division)")
//     @GetGeneratedKeys
//     long createTeam(@Bind("name") String name, @Bind("division") Division division);
// 
//     @SqlUpdate("insert into roster(team_id, player_id) values (:team_id, :player_id)")
//     void addPlayerToTeam(@Bind("team_id") long teamId, @Bind("player_id") long playerId);
// 
//     @Transaction
//     default void addTeam(Team team, List<Player> players) {
//         long teamId = createTeam(team.name, team.division);
//         for (Player player : players) {
//             long playerId = playerDao().createPlayer(player);
//             addPlayerToTeam(teamId, playerId);
//         }
//     }
// 
//     @SqlQuery("select * from players p " +
//             "inner join roster r on r.player_id=p.id " +
//             "inner join teams t on r.team_id=t.id " +
//             "where t.name = :team_name " +
//             "order by p.last_name")
//     List<Player> getPlayers(@Bind("team_name") String teamName);
// }


// Path: src/test/java/com/github/arteam/jdit/TestDirectoryMigration.java
import com.github.arteam.jdit.annotations.DataSet;
import com.github.arteam.jdit.annotations.JditProperties;
import com.github.arteam.jdit.annotations.TestedSqlObject;
import com.github.arteam.jdit.domain.TeamSqlObject;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.assertj.core.api.Assertions.assertThat;

package com.github.arteam.jdit;



@RunWith(DBIRunner.class)
@JditProperties("jdit-schema-directory.properties")
public class TestDirectoryMigration {

    @TestedSqlObject
    TeamSqlObject teamSqlObject;