Skip to content

Commit

Permalink
static imports documented
Browse files Browse the repository at this point in the history
Without them you have a rough start…
  • Loading branch information
d135-1r43 authored and tommysitu committed Jul 7, 2019
1 parent 1d838c7 commit ffb09e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/pages/quickstart/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ The simplest way is to get started is with the JUnit rule. Behind the scenes the

.. code-block:: java
import static io.specto.hoverfly.junit.core.SimulationSource.dsl;
import static io.specto.hoverfly.junit.dsl.HoverflyDsl.service;
import static io.specto.hoverfly.junit.dsl.ResponseCreators.success;
public class HoverflyExample {
@ClassRule
Expand All @@ -52,4 +56,4 @@ The simplest way is to get started is with the JUnit rule. Behind the scenes the
assertThatJSON(getBookingResponse.getBody()).isEqualTo("{"\"bookingId\":\"1\"}");
}
// Continues...
// Continues...

0 comments on commit ffb09e7

Please sign in to comment.