Code Duplication    Length = 8-8 lines in 2 locations

src/Dev/SapphireTest.php 2 locations

@@ 951-958 (lines=8) @@
948
     * @param boolean $ignoreCase
949
     * @param boolean $checkForObjectIdentity
950
     */
951
    public function assertSQLContains(
952
        $needleSQL,
953
        $haystackSQL,
954
        $message = '',
955
        $ignoreCase = false,
956
        $checkForObjectIdentity = true
957
    ) {
958
        $needleSQL = $this->normaliseSQL($needleSQL);
959
        $haystackSQL = $this->normaliseSQL($haystackSQL);
960
961
        $this->assertContains($needleSQL, $haystackSQL, $message, $ignoreCase, $checkForObjectIdentity);
@@ 973-980 (lines=8) @@
970
     * @param boolean $ignoreCase
971
     * @param boolean $checkForObjectIdentity
972
     */
973
    public function assertSQLNotContains(
974
        $needleSQL,
975
        $haystackSQL,
976
        $message = '',
977
        $ignoreCase = false,
978
        $checkForObjectIdentity = true
979
    ) {
980
        $needleSQL = $this->normaliseSQL($needleSQL);
981
        $haystackSQL = $this->normaliseSQL($haystackSQL);
982
983
        $this->assertNotContains($needleSQL, $haystackSQL, $message, $ignoreCase, $checkForObjectIdentity);