spec\PhpSpec\Formatter\Html\ReportPassedItemSpec::it_writes_a_pass_message_for_a_passing_example PHP Méthode

it_writes_a_pass_message_for_a_passing_example() public méthode

public it_writes_a_pass_message_for_a_passing_example ( PhpSpec\Formatter\Template $template, ExampleEvent $event )
$template PhpSpec\Formatter\Template
$event PhpSpec\Event\ExampleEvent
    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();
    }