Package org.rugby.online.impl

Examples of org.rugby.online.impl.DefaultNonPlayer


  private DefaultNonPlayer nonPlayer;
 
  @Before
  public void setUp() throws Exception {
    nonPlayer = new DefaultNonPlayer(RboProfession.MANAGEMENT_MAIN, Locale.FRENCH);
    nonPlayer.setAge((short) 25);
  }
View Full Code Here


  private RboStaffTeam staff;
 
  @Before
  public void setUp() throws Exception {
    staff = new DefaultStaffTeam();
    staff.getStaff().add(new DefaultNonPlayer(RboProfession.MEDICS_MAIN, Locale.FRENCH));
  }
View Full Code Here

    }
  }

  @Test
  public void testUpdateObject() {
    gamer.getStaffTeam().getStaff().add(new DefaultNonPlayer(RboProfession.MANAGEMENT_MAIN, Locale.FRENCH));
    try {
      strategy.updateObject(DefaultGamer.class, gamerId, gamer);
      DefaultGamer gamerTest = (DefaultGamer) strategy.getObject(DefaultGamer.class, gamerId);
      assertNotNull(gamerTest);
      assertEquals(gamer, gamerTest);
View Full Code Here

TOP

Related Classes of org.rugby.online.impl.DefaultNonPlayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.