File: 03store.t

package info (click to toggle)
libbot-basicbot-pluggable-perl 0.98-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 564 kB
  • ctags: 281
  • sloc: perl: 3,112; makefile: 16
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' );