File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
src/test/java/de/triology/blog/testdataloader Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 23
23
*/
24
24
package de .triology .blog .testdataloader ;
25
25
26
- import de .triology .blog .testdataloader .EntityBuilder ;
27
- import de .triology .blog .testdataloader .EntityBuildingException ;
28
- import de .triology .blog .testdataloader .EntityCreatedListener ;
29
26
import de .triology .blog .testdataloader .testentities .AnotherTestEntity ;
30
27
import de .triology .blog .testdataloader .testentities .BasicTestEntity ;
31
28
import de .triology .blog .testdataloader .testentities .TestEntityWithToManyRelationship ;
36
33
import org .junit .Test ;
37
34
38
35
import java .io .FileNotFoundException ;
39
- import java .util .ArrayList ;
40
- import java .util .Calendar ;
41
- import java .util .Collection ;
42
- import java .util .List ;
43
- import java .util .NoSuchElementException ;
44
-
45
- import static org .junit .Assert .assertEquals ;
46
- import static org .junit .Assert .assertNotNull ;
47
- import static org .junit .Assert .assertNotSame ;
48
- import static org .junit .Assert .assertSame ;
49
- import static org .junit .Assert .assertTrue ;
50
- import static org .junit .Assert .fail ;
36
+ import java .util .*;
37
+
38
+ import static org .junit .Assert .*;
51
39
52
40
public class EntityBuilderTest {
53
41
@@ -56,6 +44,7 @@ public class EntityBuilderTest {
56
44
@ Before
57
45
public void setUp () throws Exception {
58
46
builder = EntityBuilder .instance ();
47
+ builder .clear ();
59
48
callBuildEntitiesWithFile ("tests/testEntityDefinitions.groovy" );
60
49
}
61
50
You can’t perform that action at this time.
0 commit comments