Code Duplication    Length = 8-8 lines in 2 locations

lib/custom/tests/MW/Cache/Laravel5Test.php 2 locations

@@ 81-88 (lines=8) @@
78
	}
79
80
81
	public function testGetMultiple()
82
	{
83
		$this->mock->expects( $this->exactly( 2 ) )->method( 'get' )
84
			->will( $this->returnValue( 'value' ) );
85
86
		$expected = array( 'key1' => 'value', 'key2' => 'value' );
87
		$this->assertEquals( $expected, $this->object->getMultiple( array( 'key1', 'key2' ) ) );
88
	}
89
90
91
	public function testGetMultipleByTags()
@@ 115-122 (lines=8) @@
112
	}
113
114
115
	public function testSetMultiple()
116
	{
117
		$this->mock->expects( $this->once() )->method( 'put' )
118
			->with( $this->equalTo( 'key' ), $this->equalTo( 'value' ), $this->greaterThan( 0 ) );
119
120
		$expires = array( 'key' => '2100-01-01 00:00:00' );
121
		$this->object->setMultiple( array( 'key' => 'value' ), $expires, array( 'key' => array( 'tag' ) ) );
122
	}
123
}
124