blob: 2e040652421e182779fbc95284f728c6215040ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package Test::MooseX::UserAgent;
use strict;
use warnings;
use base 'Test::Class';
use Test::Exception;
use Test::More;
sub class { 'MooseX::UserAgent' }
sub startup : Tests(startup => 1) {
my $test = shift;
use_ok $test->class, "use ok";
}
sub shutdown : Tests(shutdown) {
my $test = shift;
}
sub constructor : Tests(1) {
my $test = shift;
can_ok $test->class, 'new';
}
1;
|