  @Test
  public void insert() {



    DelegateEbeanServer mock = new DelegateEbeanServer();
    mock.withPersisting(true);

    MockiEbean.runWithMock(mock, () -> {

      Customer customer = new Customer();
      customer.setName("jim");
      //customer.setComments("first comment");

      customer.save();

      //customer.setComments("second comment");
      customer.save();

    });

    assertThat(mock.capturedBeans.save).hasSize(2);

  }