def METHOD_NAME(self):
    """This tests that the register request messages.
    will break on counts that are out of range
    """
    context = MockContext(True)
    requests = [
        ReadHoldingRegistersRequest(-1, 5),
        ReadInputRegistersRequest(-1, 5),
    ]
    for request in requests:
        response = request.execute(context)
        assert request.function_code == response.function_code