@Test public void isAuthorisedReturnsTrueWhenDirectResponseDataStatusIsAuthorised() { when(directResponseDataMock.getTransactionStatus()).thenReturn(TransactionStatus.AUTHORISED); final Boolean result = testObj.isAuthorised(directResponseDataMock); assertThat(result).isTrue(); }
@Override public Boolean isAuthorised(final DirectResponseData directResponseData) { return AUTHORISED.equals(directResponseData.getTransactionStatus()); }
DefaultWorldpayDirectResponseService implements WorldpayDirectResponseService { @Override public Boolean isAuthorised(final DirectResponseData directResponseData) { return AUTHORISED.equals(directResponseData.getTransactionStatus()); } }
DefaultWorldpayDirectResponseService implements WorldpayDirectResponseService { @Override public Boolean isAuthorised(final DirectResponseData directResponseData) { return AUTHORISED.equals(directResponseData.getTransactionStatus()); }  }
DefaultWorldpayDirectResponseService implements WorldpayDirectResponseService { @Override public Boolean isAuthorised(final DirectResponseData directResponseData) { return AUTHORISED.equals(directResponseData.getTransactionStatus()); }  @Override Boolean isAuthorised(final DirectResponseData directResponseData); @Override Boolean isCancelled(final DirectResponseData directResponseData); @Override Boolean is3DSecureLegacyFlow(final DirectResponseData directResponseData); @Override Boolean is3DSecureFlexFlow(final DirectResponseData directResponseData); }
DefaultWorldpayDirectResponseService implements WorldpayDirectResponseService { @Override public Boolean isAuthorised(final DirectResponseData directResponseData) { return AUTHORISED.equals(directResponseData.getTransactionStatus()); }  @Override Boolean isAuthorised(final DirectResponseData directResponseData); @Override Boolean isCancelled(final DirectResponseData directResponseData); @Override Boolean is3DSecureLegacyFlow(final DirectResponseData directResponseData); @Override Boolean is3DSecureFlexFlow(final DirectResponseData directResponseData);  }