Permalink
Browse files

Renamed 'XMLImport' to 'MovieDomRepoImpl'

  • Loading branch information...
1 parent 2b57e6d commit 5dd5879c7b796102bff2f66c3619a44285ad8ffb @bessl committed Dec 19, 2011
@@ -13,11 +13,11 @@
import java.io.File;
import java.util.LinkedList;
-public class XMLImport {
+public class MovieDomRepoImpl {
private LinkedList<Movie> movies;
- public XMLImport() {
+ public MovieDomRepoImpl() {
movies = new LinkedList<Movie>();
}
@@ -13,10 +13,10 @@
import org.junit.Before;
import org.junit.Test;
-import repo.XMLImport;
+import repo.MovieDomRepoImpl;
-public class WhenImportFromXML {
+public class WhenMovieDomRepoImp {
@Before
public void setUp() throws Exception {
@@ -26,7 +26,7 @@ public void setUp() throws Exception {
public void withValidDataWeShouldBeAbleToGetAListOfMovieObjects() {
File xmlfile = new File(getClass().getClassLoader().getResource("miro.xml").getPath());
- XMLImport importer = new XMLImport();
+ MovieDomRepoImpl importer = new MovieDomRepoImpl();
importer.findAll(xmlfile);
LinkedList<Movie> movies = importer.getMovies();

0 comments on commit 5dd5879

Please sign in to comment.