@@ -0,0 +1,1232 @@
+package org.luxons.sevenwonders.game.wonders;%0A%0Aimport org.junit.Test;%0Aimport org.luxons.sevenwonders.game.cards.CardBack;%0Aimport org.luxons.sevenwonders.game.test.TestUtils;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.fail;%0A%0Apublic class WonderTest %7B%0A%0A    @Test%0A    public void buildLevel_increasesNbBuiltStages() %7B%0A        Wonder wonder = TestUtils.createWonder();%0A        assertEquals(0, wonder.getNbBuiltStages());%0A        wonder.buildLevel(new CardBack(%22img%22));%0A        assertEquals(1, wonder.getNbBuiltStages());%0A        wonder.buildLevel(new CardBack(%22img%22));%0A        assertEquals(2, wonder.getNbBuiltStages());%0A        wonder.buildLevel(new CardBack(%22img%22));%0A        assertEquals(3, wonder.getNbBuiltStages());%0A    %7D%0A%0A    @Test%0A    public void buildLevel_failsIfFull() %7B%0A        Wonder wonder = TestUtils.createWonder();%0A        wonder.buildLevel(new CardBack(%22img%22));%0A        wonder.buildLevel(new CardBack(%22img%22));%0A        wonder.buildLevel(new CardBack(%22img%22));%0A        try %7B%0A            wonder.buildLevel(new CardBack(%22img%22));%0A            fail();%0A        %7D catch (IllegalStateException e) %7B%0A            // expected exception because there is no 4th level in this wonder%0A        %7D%0A    %7D%0A%7D%0A

Add WonderTest