# Using ESIntegTestCase without extend

**URL:** https://discuss.elastic.co/t/using-esintegtestcase-without-extend/83059
**Category:** Elasticsearch
**Created:** [April 20, 2017, 1:14pm UTC](https://discuss.elastic.co/t/using-esintegtestcase-without-extend/83059 "2017-04-20T13:14:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Alex\_Davidovich](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)
#### Post date: [April 20, 2017, 1:14pm UTC](https://discuss.elastic.co/t/using-esintegtestcase-without-extend/83059/1 "2017-04-20T13:14:04Z")

</div>

I want to use ESIntegTestCase in my tests but they are already extending JerseyTest.  
Is there a way to use ESIntegTestCase without extending it?

---

<div class="post-metadata">

### Author: ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)
#### Post date: [April 20, 2017, 1:43pm UTC](https://discuss.elastic.co/t/using-esintegtestcase-without-extend/83059/2 "2017-04-20T13:43:19Z")

</div>

No, this is not possible.

---

<div class="post-metadata">

### Author: ![Alex\_Davidovich](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)
#### Post date: [April 20, 2017, 1:46pm UTC](https://discuss.elastic.co/t/using-esintegtestcase-without-extend/83059/3 "2017-04-20T13:46:34Z")

</div>

I don't want to start an ES process in my tests.  
How can I check my flow of creating and fetching documents without real external cluster?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 18, 2017, 1:50pm UTC](https://discuss.elastic.co/t/using-esintegtestcase-without-extend/83059/4 "2017-05-18T13:50:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
