public function setUp()
{
$this->manager = $this->getManager();
// instantiate persister
$this->persister = new Persister($this->manager);
$this->visitor = new SqlVisitor();
$tokenVisitor = $this->prophesize(TokenValueVisitor::class);
$repository = new Repository($this->manager, $tokenVisitor->reveal(), $this->visitor);
$this->loader = new Loader($repository);
}