Beispiel #1
0
  @Before
  public void setup() {
    Fixtures.deleteAll();

    Fixtures.load("data.yml");

    duckRunnerGame = Game.find("byName", "Duck Runner").first();
    parkingLotGame = Game.find("byName", "Parking Lot").first();
  }
Beispiel #2
0
  @Test
  public void fullTest() {
    Fixtures.loadModels("data.yml");

    // Count things

  }
 @Before
 public void setup() {
   Fixtures.deleteDatabase();
   Fixtures.loadModels("test_models_ver20130112.yml");
 }
 @Before
 public void setUp() {
   Fixtures.deleteAll();
   Fixtures.load("fixtures.yml");
 }
Beispiel #5
0
 @Before
 public void setup() {
   Fixtures.deleteDatabase();
   Fixtures.loadModels("data.yml");
 }
Beispiel #6
0
 @Before
 public void setup() {
   Fixtures.deleteDatabase();
 }
Beispiel #7
0
 @Before
 public void setUpData() {
   Fixtures.deleteAll();
   Fixtures.load("test-data.yml");
 }
 @Before
 public void setUp() {
   Fixtures.deleteAllModels();
   Fixtures.loadModels("data.yml");
 }
 @Before
 public void setUp() {
   fixture = Fixtures.newGivenWhenThenFixture(StandardAggregate.class);
   fixture.registerAggregateFactory(new StandardAggregate.Factory());
 }