Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 515-524 (lines=10) @@
512
	 *
513
	 * @return string
514
	 */
515
	public function get_input_content() {
516
		ob_start();
517
518
		require_once __DIR__ . '/pre-image-placeholder-content.html';
519
520
		$contents = trim( ob_get_contents() );
521
		ob_end_clean();
522
523
		return trim( $contents );
524
	}
525
526
	/**
527
	 * Get output content.
@@ 531-540 (lines=10) @@
528
	 *
529
	 * @return string
530
	 */
531
	public function get_output_content() {
532
		ob_start();
533
534
		require_once __DIR__ . '/post-image-placeholder-content.html';
535
536
		$contents = trim( ob_get_contents() );
537
		ob_end_clean();
538
539
		return trim( $contents );
540
	}
541
542
	/**
543
	 * Check is the srcset attribute it set.