File: 03store.t

package info (click to toggle)
libbot-basicbot-pluggable-perl 1.30%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 516 kB
  • sloc: perl: 3,153; makefile: 17
file content (15 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use warnings;
use strict;
use Test::More tests => 3;
use Bot::BasicBot::Pluggable::Store;

my $store;

isa_ok(
    Bot::BasicBot::Pluggable::Store->new("Memory"),
    'Bot::BasicBot::Pluggable::Store::Memory'
);
isa_ok( Bot::BasicBot::Pluggable::Store->new( { type => "Memory" } ),
    'Bot::BasicBot::Pluggable::Store::Memory' );
isa_ok( Bot::BasicBot::Pluggable::Store->new(),
    'Bot::BasicBot::Pluggable::Store' );