deletingAnExistingRecord() throws Exception {
persist(aProduct().withNumber("12345678").named("English Bulldog"),
aProduct().named("Labrador Retriever"),
aProduct().named("Dalmatian"));
transactor.perform(new UnitOfWork() {
public void execute() throws Exception {
int deleted = Delete.from(products).where("number = ?", "12345678").execute(connection);
assertThat("records deleted", deleted, is(1));
}
});