src/test/java/br/ufpa/labes/spm/web/rest/AgentResourceIT.java
public static Agent createEntity(EntityManager em) {
    Agent agent =
        new Agent()
            .ident(DEFAULT_IDENT)
            .name(DEFAULT_NAME)
            .email(DEFAULT_EMAIL)
            .costHour(DEFAULT_COST_HOUR)
            .passwordHash(DEFAULT_PASSWORD_HASH)
            .tipoUser(DEFAULT_TIPO_USER)
            .isActive(DEFAULT_IS_ACTIVE)
            .online(DEFAULT_ONLINE)
            .photoURL(DEFAULT_PHOTO_URL)
            .upload(DEFAULT_UPLOAD)
            .description(DEFAULT_DESCRIPTION);
    return agent;
  }
/**
   * Create an entity for this test.
   *
   * <p>This is a static method, as tests for other entities might also need it, if they test an
   * entity which requires the current entity.
   */
Create an entity for this test.
This is a static method, as tests for other entities might also need it, if they test an
entity which requires the current entity.
Create an entity for this test . This is a static method as tests for other entities might also need it if they test an entity which requires the current entity .
public static Agent createEntity(EntityManager em) {
    Agent agent =
        new Agent()
            .ident(DEFAULT_IDENT)
            .name(DEFAULT_NAME)
            .email(DEFAULT_EMAIL)
            .costHour(DEFAULT_COST_HOUR)
            .passwordHash(DEFAULT_PASSWORD_HASH)
            .tipoUser(DEFAULT_TIPO_USER)
            .isActive(DEFAULT_IS_ACTIVE)
            .online(DEFAULT_ONLINE)
            .photoURL(DEFAULT_PHOTO_URL)
            .upload(DEFAULT_UPLOAD)
            .description(DEFAULT_DESCRIPTION);
    return agent;
  }
public static Agent createEntity ( EntityManager em ) { Agent agent = new Agent ( ) . ident ( DEFAULT_IDENT ) . name ( DEFAULT_NAME ) . email ( DEFAULT_EMAIL ) . costHour ( DEFAULT_COST_HOUR ) . passwordHash ( DEFAULT_PASSWORD_HASH ) . tipoUser ( DEFAULT_TIPO_USER ) . isActive ( DEFAULT_IS_ACTIVE ) . online ( DEFAULT_ONLINE ) . photoURL ( DEFAULT_PHOTO_URL ) . upload ( DEFAULT_UPLOAD ) . description ( DEFAULT_DESCRIPTION ) ; return agent ; }
Create an entity for this test.
Create an entity for this test .