/** * Testable wrapper for Candidate::createNew * * @param string $DoB Date of birth of the candidate * @param string $edc EDC of the candidate * @param string $gender Gender of the candidate to be created * @param string $PSCID PSCID of the candidate to be created * * @return none */ public function createNew($DoB, $edc, $gender, $PSCID) { $user = \User::singleton(); \Candidate::createNew($user->getCenterID(), $DoB, $edc, $gender, $PSCID); }