Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 328-335 (lines=8) @@
325
	}
326
327
328
	public function testWritesException()
329
	{
330
		$this->mock->expects( $this->once() )->method( 'putStream' )
331
			->will( $this->returnValue( false ) );
332
333
		$this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' );
334
		$this->object->writes( 'test', 2 );
335
	}
336
337
338
	public function testWritesException2()
@@ 338-345 (lines=8) @@
335
	}
336
337
338
	public function testWritesException2()
339
	{
340
		$this->mock->expects( $this->once() )->method( 'putStream' )
341
			->will( $this->throwException( new \RuntimeException() ) );
342
343
		$this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' );
344
		$this->object->writes( 'test', null );
345
	}
346
347
348
	public function testMove()