/**
  * Test Dificulty Level -> post releationship
  *
  * @return void
  */
 public function testDificultyLevelPostRelationship()
 {
     $this->assertTrue(PostDificulty::findOrFail(1) instanceof PostDificulty);
     $relationshipCollection = PostDificulty::find(1)->posts()->get();
     $collection = collect([]);
     $this->assertTrue($relationshipCollection instanceof $collection);
 }
 /**
  * Asserting /dificulty-level/1 is accessible and the title is visible
  *
  * @return void
  */
 public function testDificultyLevelTitleIsVisible()
 {
     $this->visit('/dificulty-level/1')->see(strtolower(PostDificulty::find(1)->title))->seeStatusCode(200);
 }