Code Duplication    Length = 7-7 lines in 3 locations

src/Gabrieljmj/Should/Ambient/Ambient.php 3 locations

@@ 90-96 (lines=7) @@
87
     * @param string        $method
88
     * @return \Gabrieljmj\Should\TheMethod
89
     */
90
    public function theMethod($class, $method)
91
    {
92
        $className = $this->getClassAsString($class);
93
        $index = $className . ':' . $method;
94
95
        return $this->create('method', func_get_args(), $index);
96
    }
97
98
    /**
99
     * @param string|object  $class
@@ 103-109 (lines=7) @@
100
     * @param string         $property
101
     * @return \Gabrieljmj\Should\TheProperty
102
     */
103
    public function theProperty($class, $property)
104
    {
105
        $className = $this->getClassAsString($class);
106
        $index = $className . ':' . $property;
107
108
        return $this->create('property', func_get_args(), $index);
109
    }
110
111
    /**
112
     * @param string|object $class
@@ 117-123 (lines=7) @@
114
     * @param string        $parameter
115
     * @return \Gabrieljmj\Should\TheParameter
116
     */
117
    public function theParameter($class, $method, $parameter)
118
    {
119
        $className = $this->getClassAsString($class);
120
        $index = $className . ':' . $method . ':' . $parameter;
121
122
        return $this->create('parameter', func_get_args(), $index);
123
    }
124
    
125
    /**
126
     * Runs the tests and create the report