Mockito Test Exception Thrown