public void whenConsumingSimillarResourceName_thenRedirectedToCorrectResourceName() {
final String simillarUriOfResource = getUri().substring(0, getUri().length() - 1);
final Pair<String, String> readCredentials = getApi().getReadCredentials();
final RequestSpecification givenAuthenticated = auth.givenBasicAuthenticated(readCredentials.getLeft(), readCredentials.getRight());
final RequestSpecification readReq = givenAuthenticated.header(HttpHeaders.ACCEPT, marshaller.getMime());
final RequestSpecification customRequest = readReq.config(new RestAssuredConfig().redirect(new RedirectConfig().followRedirects(false)));
final Response responseOfSimillarUri = getApi().findOneByUriAsResponse(simillarUriOfResource, customRequest);
assertThat(responseOfSimillarUri.getStatusCode(), is(301));
}