public it_writes_a_pass_message_for_a_passing_example ( PhpSpec\Formatter\Template $template, |
||
$template | PhpSpec\Formatter\Template | |
$event |
function it_writes_a_pass_message_for_a_passing_example(Template $template, ExampleEvent $event)
{
$event->getTitle()->willReturn(self::EVENT_TITLE);
$template->render(HtmlTemplate::DIR . '/Template/ReportPass.html', array('title' => self::EVENT_TITLE))->shouldBeCalled();
$this->write();
}