public function testDefineWithAssociations()
{
// define with explicit $to_column
$this->phactory->define('user', array('name' => 'testuser'), array('role' => $this->phactory->manyToOne('roles', 'role_id', 'id')));
// definie with implicit $to_column
$this->phactory->define('user', array('name' => 'testuser'), array('role' => $this->phactory->manyToOne('roles', 'role_id')));
}