Sdk/Internal/ConnectionType.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
get_connection_type
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Javonet::Sdk::Internal::ConnectionType;
2 use strict;
3 use warnings FATAL => 'all';
4 use Moose;
5
6 my %connection_type = (
7 'InMemory' => 0,
8 'Tcp' => 1,
9 'WithConfig' => 2,
10 );
11
12 sub get_connection_type {
13 my $type = shift;
14 return $connection_type{$type};
15 }
16
17
18 no Moose;
19 1;