Package br.com.moonjava.flight.controller.base

Examples of br.com.moonjava.flight.controller.base.VooUpdate


    request.set("id", id);
    request.set("partida", partida);
    request.set("chegada", chegada);
    request.set("observacao", observacao);

    Voo voo = new VooUpdate(request).createInstance();
    boolean executed = dao.atualizar(voo);
    assertThat(executed, equalTo(true));

    Voo res = dao.consultarPorId(id);
    assertThat(res.getCodigo(), equalTo(codigo));
View Full Code Here


    request.set("id", id);
    request.set("partida", partida);
    request.set("chegada", chegada);
    request.set("observacao", observacao);

    Voo voo = new VooUpdate(request).createInstance();
    boolean executed = dao.atualizar(voo);
    assertThat(executed, equalTo(false));
  }
View Full Code Here

TOP

Related Classes of br.com.moonjava.flight.controller.base.VooUpdate

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.