io.ebean.BeanCapture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-mocker Show documentation
Show all versions of ebean-mocker Show documentation
Ability to set a Mockito mock EbeanServer as 'default' EbeanServer
package io.ebean;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* Base functionality for capturing beans that are sent to the save(), delete() methods
* of an EbeanServer.
*
* Capture the beans in order to use with test asserts.
*/
public class BeanCapture {
protected boolean captureBeans = true;
/**
* The captured beans sent to the save() methods.
*/
public List