@Test
  public void testSave() {

    log.info("Test Save Data =================================");

    Pipe pipe = new Pipe();

    pipe.setId(UUID.randomUUID().toString());
    pipe.setTitle("New Pipe");
    pipe.setType("direct");
    pipe.setUpdated(new Date());
    pipe.setCreated(new Date());

    log.info(pipe.toString());

    pipeDao.save(pipe);
  }
  @Test
  public void testUpdate() {

    // use the power of immutable stuff
    final String newTitle = "Data Feed Updated";
    final String updatePipeId = "90f197cb-a225-4cd4-b9ab-964bd79e9337";

    log.info("Test Update Data =================================");

    Pipe pipe = pipeDao.getById(updatePipeId);
    pipe.setTitle(newTitle);

    pipeDao.save(pipe);

    Pipe updatedPipe = pipeDao.getById(updatePipeId);

    assertEquals(newTitle, updatedPipe.getTitle());
  }