Exemplo n.º 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();
  }
Exemplo n.º 2
0
  @Test
  public void fullTest() {
    Fixtures.loadModels("data.yml");

    // Count things

  }
Exemplo n.º 3
0
 @Before
 public void setup() {
   Fixtures.deleteDatabase();
   Fixtures.loadModels("test_models_ver20130112.yml");
 }
Exemplo n.º 4
0
 @Before
 public void setUp() {
   Fixtures.deleteAll();
   Fixtures.load("fixtures.yml");
 }
Exemplo n.º 5
0
 @Before
 public void setup() {
   Fixtures.deleteDatabase();
   Fixtures.loadModels("data.yml");
 }
Exemplo n.º 6
0
 @Before
 public void setup() {
   Fixtures.deleteDatabase();
 }
Exemplo n.º 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());
 }