jaroslavtyc/drd-plus-stamina

View on GitHub
tests/Stamina/RestPowerTest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

namespace DrdPlus\Tests\Stamina;

use DrdPlus\Stamina\RestPower;
use Granam\TestWithMockery\TestWithMockery;

class RestPowerTest extends TestWithMockery
{
    /**
     * @test
     */
    public function I_can_use_it(): void
    {
        $restingPower = new RestPower(123);
        self::assertSame(123, $restingPower->getValue());
        self::assertSame('123', (string)$restingPower);
    }
}