  @Test
  public void handleWithRewriteEnabledNoPayload() throws Exception {

    when(response.getPayload()).thenReturn(null);

    Response output = underTest.handle(context);

    assertThat(output, is(response));
    verifyNoMoreInteractions(composerJsonProcessor);
  }