src/Concerns/InteractsWithDatabase.php
protected function assertSoftDeleted($table, array $data, $connection = null)
    {
        $this->assertThat(
            $table, new SoftDeletedInDatabase($this->getConnection($connection), $data)
        );

        return $this;
    }
protected function assertSoftDeleted($table, array $data, $connection = null)
    {
        $this->assertThat(
            $table, new SoftDeletedInDatabase($this->getConnection($connection), $data)
        );

        return $this;
    }
protected function assertSoftDeleted ( $ table , array $ data , $ connection = null ) { $ this -> assertThat ( $ table , new SoftDeletedInDatabase ( $ this -> getConnection ( $ connection ) , $ data ) ) ; return $ this ; }
Assert the given record has been deleted.

@param  string  $table
@param  array  $data
@param  string  $connection
@return $this
Assert the given record has been deleted .