/** * @test * @expectedException Silk\Exception\WP_ErrorException */ public function it_blows_up_if_attempting_to_unregister_a_builtin_taxonomy() { $taxonomy = new Taxonomy(get_taxonomy('category')); $taxonomy->unregister(); }