TripDAO, always test before refactoring
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 27 Nov 2016 13:26:05 +0000 (14:26 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 27 Nov 2016 13:26:05 +0000 (14:26 +0100)
commitd810fb5b1bbf8e28eddbf34b2b5cfcf14e94e049
treeaa0aa183dfadaf0a37e8f7e4c2208b0c9808b6ea
parent4d6fe926c1b9289ead83506996578508416770a1
TripDAO, always test before refactoring

We need a new method in order to be able to rewrite our legacy code.
At the very end this method will be the one used by our app.
The static method will dissapear after refactoring our whole app (what should be done carefully)
TDD/src/main/java/org/craftedsw/tripservicekata/trip/TripDAO.java
TDD/src/test/java/org/craftedsw/tripservicekata/trip/TripDAOShould.java [new file with mode: 0644]
TDD/src/test/java/org/craftedsw/tripservicekata/trip/TripDAOTest.java [deleted file]
TDD/src/test/java/org/craftedsw/tripservicekata/trip/TripServiceShould.java