Example #1
0
 /**
  * @test
  */
 public function it_has_a_method_for_returning_the_taxonomy_model()
 {
     $term = new Category();
     $this->assertInstanceOf(Taxonomy::class, $term->taxonomy());
     $this->assertSame('category', $term->taxonomy()->id);
 }