@Test
public void should_fail_transfer_when_received_413_response_without_block_size_hint() throws CoapException {

    givenPutRequest(1500);
    //when, received ACK 4.13
    receive(coap().ack(C413_REQUEST_ENTITY_TOO_LARGE));
    //then, restart with new size
    assertNothingSent();
    verify(callback).call(eq(coap().ack(C413_REQUEST_ENTITY_TOO_LARGE).build()));
}