Tests the deconstructor to be sure that every kind of heavy objects are removed.
function testDestroy() { $view = views_get_view('test_destroy'); $view ->preview(); $view ->destroy(); $this ->assertViewDestroy($view); }