Code Duplication    Length = 10-10 lines in 2 locations

packages/lazy-images/tests/php/test_class.lazy-images.php 2 locations

@@ 557-566 (lines=10) @@
554
	 *
555
	 * @return string
556
	 */
557
	public function get_input_content() {
558
		ob_start();
559
560
		require_once dirname( __FILE__ ) . '/pre-image-placeholder-content.html';
561
562
		$contents = trim( ob_get_contents() );
563
		ob_end_clean();
564
565
		return trim( $contents );
566
	}
567
568
	/**
569
	 * Get output content.
@@ 573-582 (lines=10) @@
570
	 *
571
	 * @return string
572
	 */
573
	public function get_output_content() {
574
		ob_start();
575
576
		require_once dirname( __FILE__ ) . '/post-image-placeholder-content.html';
577
578
		$contents = trim( ob_get_contents() );
579
		ob_end_clean();
580
581
		return trim( $contents );
582
	}
583
584
	/**
585
	 * Check is the srcset attribute it set.