Package br.com.objectos.comuns.assincrono.impl

Examples of br.com.objectos.comuns.assincrono.impl.IdTatu


    assertFalse(novoAgendamento.isErroDuranteExecucao());
    assertFalse(novoAgendamento.limparErroDeExecucao());
    assertFalse(novoAgendamento.isResultadoDisponivel());

    assertEquals(novoAgendamento.getIdentificador(), new IdTatu(0));
    assertNotNull(novoAgendamento.getConfiguracao());

    assertNull(novoAgendamento.getErro());
  }
View Full Code Here


    assertTrue(erro instanceof ErroDeInterrupcao);
  }

  private Agendamento<Tatu> tatu(int id, boolean forcar) {
    Identificador<Tatu> identificador = new IdTatu(id);
    Configuracao configuracao = ConfiguracaoDeTatu.construtor().forcar(forcar)
        .novaInstancia();
    return new AgendamentoDeTatu(identificador, configuracao);
  }
View Full Code Here

  }

  private Identificador<Tatu> proximoIdentificador() {
    int id = contador.getAndIncrement();
    return new IdTatu(id);
  }
View Full Code Here

TOP

Related Classes of br.com.objectos.comuns.assincrono.impl.IdTatu

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.