Code Duplication    Length = 8-8 lines in 2 locations

src/Dev/SapphireTest.php 2 locations

@@ 943-950 (lines=8) @@
940
     * @param boolean $ignoreCase
941
     * @param boolean $checkForObjectIdentity
942
     */
943
    public function assertSQLContains(
944
        $needleSQL,
945
        $haystackSQL,
946
        $message = '',
947
        $ignoreCase = false,
948
        $checkForObjectIdentity = true
949
    ) {
950
        $needleSQL = $this->normaliseSQL($needleSQL);
951
        $haystackSQL = $this->normaliseSQL($haystackSQL);
952
953
        $this->assertContains($needleSQL, $haystackSQL, $message, $ignoreCase, $checkForObjectIdentity);
@@ 965-972 (lines=8) @@
962
     * @param boolean $ignoreCase
963
     * @param boolean $checkForObjectIdentity
964
     */
965
    public function assertSQLNotContains(
966
        $needleSQL,
967
        $haystackSQL,
968
        $message = '',
969
        $ignoreCase = false,
970
        $checkForObjectIdentity = true
971
    ) {
972
        $needleSQL = $this->normaliseSQL($needleSQL);
973
        $haystackSQL = $this->normaliseSQL($haystackSQL);
974
975
        $this->assertNotContains($needleSQL, $haystackSQL, $message, $ignoreCase, $checkForObjectIdentity);