### Question:
SpiAuthorizationCodeResult extends SpiWithExemptionResponse { public boolean isEmpty() { return (challengeData == null || challengeData.isEmpty()) && selectedScaMethod == null; } SpiAuthorizationCodeResult(boolean scaExempted, ChallengeData challengeData, AuthenticationObject selectedScaMethod); boolean isEmpty();  }### Answer:
@Test void isEmpty_works_by_null_ChallengeData() { SpiAuthorizationCodeResult spiAuthorizationCodeResult = new SpiAuthorizationCodeResult(); spiAuthorizationCodeResult.setSelectedScaMethod(new AuthenticationObject()); assertFalse(spiAuthorizationCodeResult.isEmpty()); }
@Test void isEmpty_works_by_null_ChallengeData_and_AuthObject() { SpiAuthorizationCodeResult spiAuthorizationCodeResult = new SpiAuthorizationCodeResult(); assertTrue(spiAuthorizationCodeResult.isEmpty()); }