/** * @expectedException \LaravelItalia\Exceptions\NotFoundException */ public function testCanFindByEmailAndPasswordThrowsException() { $this->userRepository->findByEmailAndPassword('*****@*****.**', 'wololo'); }