Code Duplication    Length = 8-8 lines in 2 locations

lib/custom/tests/MW/Filesystem/LaravelTest.php 2 locations

@@ 338-345 (lines=8) @@
335
	}
336
337
338
	public function testMoveException()
339
	{
340
		$this->mock->expects( $this->once() )->method( 'move' )
341
			->will( $this->throwException( new \RuntimeException() ) );
342
343
		$this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' );
344
		$this->object->move( 'file1', 'file2' );
345
	}
346
347
348
	public function testCopy()
@@ 356-363 (lines=8) @@
353
	}
354
355
356
	public function testCopyException()
357
	{
358
		$this->mock->expects( $this->once() )->method( 'copy' )
359
			->will( $this->throwException( new \RuntimeException() ) );
360
361
		$this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' );
362
		$this->object->copy( 'file1', 'file2' );
363
	}
364
}
365