NAME

Lab::Moose::Connection::Mock - Mock connection

VERSION

version 3.630

SYNOPSIS

use Lab::Moose;

my $instrument = instrument(
   type => 'some_instrument',
   connection_type => 'Mock',
   connection_options => { log_file => 'log.yml' }, # or log_fh => $fh,
);

DESCRIPTION

Mock connection object for unit testing. Uses previously recorded log recorded with a real instrument using Lab::Instrument::Log.

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by the Lab::Measurement team; in detail:

Copyright 2016       Simon Reinhardt
          2017       Andreas K. Huettel, Simon Reinhardt

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.