Test Failed
Pull Request — master (#26)
by Christopher
02:39
created

xsNOTATIONTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 1
cbo 1
dl 0
loc 36
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A tearDown() 0 3 1
A test__toString() 0 7 1
1
<?php
2
namespace AlgoWeb\xsdTypes;
3
4
/**
5
 * Generated Test Class.
6
 */
7
class xsNOTATIONTest extends \PHPUnit_Framework_TestCase
8
{
9
    /**
10
     * @var \AlgoWeb\xsdTypes\xsNOTATION
11
     */
12
    protected $object;
13
14
    /**
15
     * Sets up the fixture, for example, opens a network connection.
16
     * This method is called before a test is executed.
17
     */
18
    protected function setUp()
19
    {
20
        $this->object = $this->getMockForAbstractClass('\AlgoWeb\xsdTypes\xsNOTATION');
0 ignored issues
show
Documentation Bug introduced by
It seems like $this->getMockForAbstrac...\xsdTypes\\xsNOTATION') of type object<PHPUnit_Framework_MockObject_MockObject> is incompatible with the declared type object<AlgoWeb\xsdTypes\xsNOTATION> of property $object.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
21
    }
22
23
    /**
24
     * Tears down the fixture, for example, closes a network connection.
25
     * This method is called after a test is executed.
26
     */
27
    protected function tearDown()
28
    {
29
    }
30
31
    /**
32
     * @covers \AlgoWeb\xsdTypes\xsNOTATION::__toString
33
     * @todo   Implement test__toString().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
34
     */
35
    public function test__toString()
0 ignored issues
show
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
36
    {
37
        // Remove the following lines when you implement this test.
38
        $this->markTestIncomplete(
39
            'This test has not been implemented yet.'
40
        );
41
    }
42
}
43