Where to find CubaClientTestCase?

I’d like to create client IT but can’t find CubaClientTestCase class mentioned here:
http://docs.cuba-platform.com/cuba/5.6/manual/en/webhelp/integration_tests_client.html.

Where can I find it?

You have to add two dependencies to your build.gradle manually:


configure(guiModule) {
    dependencies {
        ...
        testCompile("com.haulmont.cuba:cuba-client:$cubaVersion:tests")
        testCompile('org.jmockit:jmockit:1.15')
    }

After that, re-create the IDEA project files, and you will be able to create a test class like this:


@RunWith(JMockit.class)
public class CustomerEditTest extends CubaClientTestCase {

    private CustomerEdit customerEdit;

    @Mocked Window.Editor frame;

    @Before
    public void setUp() throws Exception {
        addEntityPackage("com.company.sample.entity");
        setupInfrastructure();
        customerEdit = new CustomerEdit();
        customerEdit.setWrappedFrame(frame);
    }

    @Test
    public void test() throws Exception {
        customerEdit.doSomething();
    }
}

Ok, tnx