src/test/java/br/ufpa/labes/spm/web/rest/AgentResourceIT.java
public static Agent createUpdatedEntity(EntityManager em) {
    Agent agent =
        new Agent()
            .ident(UPDATED_IDENT)
            .name(UPDATED_NAME)
            .email(UPDATED_EMAIL)
            .costHour(UPDATED_COST_HOUR)
            .passwordHash(UPDATED_PASSWORD_HASH)
            .tipoUser(UPDATED_TIPO_USER)
            .isActive(UPDATED_IS_ACTIVE)
            .online(UPDATED_ONLINE)
            .photoURL(UPDATED_PHOTO_URL)
            .upload(UPDATED_UPLOAD)
            .description(UPDATED_DESCRIPTION);
    return agent;
  }
/**
   * Create an updated 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 updated 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 updated 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 createUpdatedEntity(EntityManager em) {
    Agent agent =
        new Agent()
            .ident(UPDATED_IDENT)
            .name(UPDATED_NAME)
            .email(UPDATED_EMAIL)
            .costHour(UPDATED_COST_HOUR)
            .passwordHash(UPDATED_PASSWORD_HASH)
            .tipoUser(UPDATED_TIPO_USER)
            .isActive(UPDATED_IS_ACTIVE)
            .online(UPDATED_ONLINE)
            .photoURL(UPDATED_PHOTO_URL)
            .upload(UPDATED_UPLOAD)
            .description(UPDATED_DESCRIPTION);
    return agent;
  }
public static Agent createUpdatedEntity ( EntityManager em ) { Agent agent = new Agent ( ) . ident ( UPDATED_IDENT ) . name ( UPDATED_NAME ) . email ( UPDATED_EMAIL ) . costHour ( UPDATED_COST_HOUR ) . passwordHash ( UPDATED_PASSWORD_HASH ) . tipoUser ( UPDATED_TIPO_USER ) . isActive ( UPDATED_IS_ACTIVE ) . online ( UPDATED_ONLINE ) . photoURL ( UPDATED_PHOTO_URL ) . upload ( UPDATED_UPLOAD ) . description ( UPDATED_DESCRIPTION ) ; return agent ; }
Create an updated entity for this test.
Create an updated entity for this test .