function testGetSingleTermInTaxonomy() { register_taxonomy('cars', 'post'); $term_id = $this->factory->term->create(array('name' => 'Toyota', 'taxonomy' => 'cars')); $term = Timber::get_term($term_id, 'cars'); $this->assertEquals($term_id, $term->ID); }