/**
  * @test
  */
 function it_creates_new_records_with_position_handled_by_listify()
 {
     // the Supplier model must have Listify set for this
     $this->repository->maintenance();
     // get the highest position value in the database
     $highestPosition = $this->app['db']->table(static::TABLE_NAME)->max('position');
     $this->assertGreaterThan(0, $highestPosition, "Position value before testing not usable. Is Listify working/used?");
     $newModel = $this->repository->create(['unique_field' => 'NEWPOSITION', 'name' => 'TestNew']);
     $this->assertEquals($highestPosition + 1, $newModel->position, "New position should be highest position before + 1");
 }