Completed
Push — 1.x ( fbb429 )
by Jakub
06:33
created

TestJobs::test()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
0 ignored issues
show
introduced by
Missing required strict_types declaration
Loading history...
2
namespace MyTester;
3
4
/**
5
 * Tests for class Job
6
 *
7
 * @author Jakub Konečný
8
 */
9
class TestJobs {
10
  /**
11
   * Test for Environment::testResult()
12
   *
13
   * @return void
14
   */
15
  public function test() {
16
    Environment::testResult("Test");
17
  }
18
  
19
  /**
20
   * Test params for job
21
   *
22
   * @param array $params
23
   * @param string $text
24
   * @return void
25
   */
26
  public function testParams(array $params, $text) {
27
    Assert::same("abc", $params[0]);
28
    Assert::same("def", $text);
29
  }
30
}
31
?>