コード例 #1
0
  @Test
  public void findHomeUnitLocation() {
    HomeOwnership home = homeRepo.findHomeUnitLocation(7);

    assertEquals("HomeOwnership id", 1, home.getId());
  }
コード例 #2
0
  @Test
  public void someTest() {
    HomeOwnership home = homeRepo.findHomeProvinceOfPlayer(-40.4195, 144.961, "BPUYYOU62flwiWJe");

    assertEquals("HomeOwnership id", 1, home.getId());
  }
コード例 #3
0
  @Test
  public void singleHome() {
    HomeOwnership owner = homeRepo.findOne(1);

    assertEquals("HomeOwnership id", 1, owner.getId());
  }