for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace spec\MeadSteve\DiceApi\Dice;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class ZeropointDiceSpec extends ObjectBehavior
{
function it_is_initializable()
$this->shouldHaveType('MeadSteve\DiceApi\Dice\ZeropointDice');
$this->shouldHaveType('MeadSteve\DiceApi\Dice');
}
function it_has_a_name_of_d0()
$this->name()->shouldBe("d0");
function it_rolls_a_singularity()
$this->roll()->shouldBe("Singularity");