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