Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 361-367 (lines=7) @@
358
     * @test
359
     * @expectedException \LogicException
360
     */
361
    public function it_cannot_set_ship_date_more_than_once()
362
    {
363
        $request = new UpdateOrderShippingStatusRequest;
364
        $this->assertSame($request, $request->setShipDate(new DateTimeImmutable('2017-04-11 20:00:00')));
365
366
        $request->setShipDate(new DateTimeImmutable('2017-04-11 21:00:00'));
367
    }
368
369
    /**
370
     * @test
@@ 393-399 (lines=7) @@
390
     * @test
391
     * @expectedException \LogicException
392
     */
393
    public function it_cannot_set_arrival_date_more_than_once()
394
    {
395
        $request = new UpdateOrderShippingStatusRequest;
396
        $this->assertSame($request, $request->setArrivalDate(new DateTimeImmutable('2017-04-11 20:00:00')));
397
398
        $request->setArrivalDate(new DateTimeImmutable('2017-04-11 21:00:00'));
399
    }
400
}
401