diff options
Diffstat (limited to 'test/eu')
3 files changed, 6 insertions, 4 deletions
diff --git a/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java b/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java index d233ddf..91409b5 100644 --- a/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java +++ b/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java @@ -11,6 +11,7 @@ import org.junit.rules.ExpectedException; import com.fasterxml.jackson.databind.ObjectMapper; +import eu.equalparts.cardbase.Cardbase; import eu.equalparts.cardbase.cards.Card; /** @@ -39,8 +40,7 @@ public class ReferenceCardContainerTest { @Before public void setUp() throws Exception { - uut = new ReferenceCardContainer() { - }; + uut = new Cardbase(); } /*********************************************************************************** diff --git a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java index 2a4a3ba..990cad5 100644 --- a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java +++ b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java @@ -13,6 +13,7 @@ import org.junit.Test; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; +import eu.equalparts.cardbase.Cardbase; import eu.equalparts.cardbase.cards.Card; /** @@ -38,7 +39,7 @@ public class StandaloneCardContainerSortTest { @Before public void setUp() throws Exception { - uut = new StandaloneCardContainer() {}; + uut = new Cardbase(); int[] cardCounts = {1, 2, 3, 8, 1, 15, 1, 1}; for (int i = 0; i < testCards.size(); i++) { uut.addCard(testCards.get(i), cardCounts[i]); diff --git a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java index f33341e..2d44c10 100644 --- a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java +++ b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java @@ -16,6 +16,7 @@ import org.junit.rules.ExpectedException; import com.fasterxml.jackson.databind.ObjectMapper; +import eu.equalparts.cardbase.Cardbase; import eu.equalparts.cardbase.cards.Card; public class StandaloneCardContainerTest { @@ -37,7 +38,7 @@ public class StandaloneCardContainerTest { @Before public void setUp() throws Exception { - uut = new StandaloneCardContainer() {}; + uut = new Cardbase(); } /*********************************************************************************** |