### ----------------------------------------------------
### -- Test::HTTP::Server
### -- Licenses: Artistic-2.0
### -- Authors: Simon Proctor
### -- File: t/02-event.rakutest
### ----------------------------------------------------
use v6;
use Test;

use Test::HTTP::Server::Event; 

my $event = Test::HTTP::Server::Event.new( :code(404), :path</test.html>, :method<GET> );
ok $event, "Made an event";
is $event.code, 404, "Code as expected";
is $event.path, "/test.html", "Path as expected";
is $event.method, "GET", "Method as expected";

done-testing;


