package com.datasift.client.behavioural;

/**
 * Created by agnieszka on 19/01/16.
 */
public class TestRest {
}

@@ -39,75 +39,1072 @@
 l;%0A%0A
-/**%0A * Created by agnieszka on 19/01/16.%0A */%0Apublic class TestRest %7B
+import cucumber.api.java.en.Given;%0Aimport cucumber.api.java.en.Then;%0Aimport cucumber.api.java.en.When;%0A%0A/**%0A * Created by agnieszka on 19/01/16.%0A */%0Apublic class TestRest %7B%0A    @Given(%22%5Ethat the request body is valid JSON$%22)%0A    public void thatTheRequestBodyIsValidJSON(String arg1) throws Throwable %7B%0A    %7D%0A%0A    @When(%22%5EI make a %5C%22(%5B%5E%5C%22%5D*)%5C%22 request to %5C%22(%5B%5E%5C%22%5D*)%5C%22$%22)%0A    public void iMakeARequestTo(String arg1, String arg2) throws Throwable %7B%0A%0A    %7D%0A%0A    @Then(%22%5Ethe response status code should be %5C%22(%5B%5E%5C%22%5D*)%5C%22$%22)%0A    public void theResponseStatusCodeShouldBe(String arg1) throws Throwable %7B%0A%0A    %7D%0A%0A    @Then(%22%5Ethe response body contains the JSON data$%22)%0A    public void theResponseBodyContainsTheJSONData(String arg1) throws Throwable %7B%0A%0A    %7D%0A%0A    @Given(%22%5Ea mock exists at %5C%22(%5B%5E%5C%22%5D*)%5C%22 it should return %5C%22(%5B%5E%5C%22%5D*)%5C%22 with the body:$%22)%0A    public void aMockExistsAtItShouldReturnWithTheBody(String arg1, String arg2, String arg3) throws Throwable %7B%0A%0A    %7D%0A%0A    @Given(%22%5Ethe mocks are created$%22)%0A    public void theMocksAreCreated() throws Throwable %7B%0A%0A    %7D%0A
 %0A%7D%0A

test rests wip