aboutsummaryrefslogtreecommitdiff
path: root/test/Model/ResultTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/Model/ResultTest.php')
-rw-r--r--test/Model/ResultTest.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/Model/ResultTest.php b/test/Model/ResultTest.php
deleted file mode 100644
index 0380182..0000000
--- a/test/Model/ResultTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace AugustOffensive\Model;
-
-use PHPUnit\Framework\TestCase;
-
-/**
- * @covers Result
- */
-final class ResultTest extends \PHPUnit\Framework\TestCase
-{
- public function testCanBeCreated()
- {
- $this->assertInstanceOf(
- Result::class,
- new Result("TEST_SUCCESS", array("it worked"))
- );
- }
-
- public function testHasAccessibleValues()
- {
- $resultType = "VISIBLE";
- $result = array("array", "of", "values");
- $resultObject = new Result($resultType, $result);
-
- $this->assertEquals(
- $resultType,
- $resultObject->getResultType()
- );
- $this->assertEquals(
- $result,
- $resultObject->getResult()
- );
- }
-}