Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 109-115 (lines=7) @@
106
	}
107
108
109
	public function testGet()
110
	{
111
		$this->mock->expects( $this->once() )->method( 'get' )
112
			->with( $this->equalTo( 'key' ) )->will( $this->returnValue( 'value' ) );
113
114
		$this->assertEquals( 'value', $this->object->get( 'key', 'default' ) );
115
	}
116
117
118
	public function testGetDefault()
@@ 118-124 (lines=7) @@
115
	}
116
117
118
	public function testGetDefault()
119
	{
120
		$this->mock->expects( $this->once() )->method( 'get' )
121
		->with( $this->equalTo( 'key' ) )->will( $this->returnValue( false ) );
122
123
		$this->assertEquals( 'default', $this->object->get( 'key', 'default' ) );
124
	}
125
126
127
	public function testGetWithSiteId()