for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the AppleApnPush package
*
* (c) Vitaliy Zhuk <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code
*/
namespace Tests\Apple\ApnPush\Model;
use Apple\ApnPush\Model\Priority;
use PHPUnit\Framework\TestCase;
class PriorityTest extends TestCase
{
/**
* @test
public function shouldSuccessCreateImmediately()
$priority = Priority::immediately();
self::assertEquals(10, $priority->getValue());
}
public function shouldSuccessCreatePowerConsiderations()
$priority = Priority::powerConsiderations();
self::assertEquals(5, $priority->getValue());