Add test to ensure scalar usage of ->get remains the same now it's
documented.
=over 4
-=item B<get($key)>
+=item B<get($key, $key2, $key3...)>
-Returns an element of the hash by its key.
+Returns values from the hash.
-=item B<set($key)>
+In list context return a list of values in the hash for the given keys.
+In scalar context returns the value for the last key specified.
-Sets the element in the hash at the given key to the given value.
+=item B<set($key => $value, $key2 => $value2 ...)>
+
+Sets the elements in the hash to the given values.
=item B<delete($key)>
use strict;
use warnings;
-use Test::More tests => 46;
+use Test::More tests => 47;
use Test::Exception;
use Test::Moose 'does_ok';
is_deeply( [ $stuff->get_option(qw(foo bar)) ], [qw(bar baz)],
"get multiple options at once" );
+is( scalar($stuff->get_option(qw( foo bar) )), "baz",
+ '... got last option in scalar context');
+
lives_ok {
$stuff->set_option( oink => "blah", xxy => "flop" );
}