Code Duplication    Length = 8-8 lines in 2 locations

tests/unit/YahooShoppingJp/Request/SearchOrdersRequestTest.php 2 locations

@@ 142-149 (lines=8) @@
139
     * @test
140
     * @expectedException \LogicException
141
     */
142
    public function it_cannot_set_offset_more_than_once()
143
    {
144
        $request = new SearchOrdersRequest;
145
        $this->assertSame($request, $request->setSellerId('SELLER_ID'));
146
        $this->assertSame($request, $request->setOffset(5));
147
148
        $request->setOffset(5);
149
    }
150
151
    /**
152
     * @test
@@ 184-191 (lines=8) @@
181
     * @test
182
     * @expectedException \LogicException
183
     */
184
    public function it_cannot_set_limit_more_than_once()
185
    {
186
        $request = new SearchOrdersRequest;
187
        $this->assertSame($request, $request->setSellerId('SELLER_ID'));
188
        $this->assertSame($request, $request->setLimit(5));
189
190
        $request->setLimit(5);
191
    }
192
193
    /**
194
     * @test