Interface AddressValidatorService

All Known Implementing Classes:
AddressValidatorServiceMock

public interface AddressValidatorService
Address Validator Service - interface of a service our component needs and that will not be available when testing our component.
Author:
Karl Eilebrecht
  • Method Summary

    Modifier and Type Method Description
    boolean validateAddress​(java.lang.String street, java.lang.String zipCode, java.lang.String city)
    This service method validates the given address
  • Method Details

    • validateAddress

      boolean validateAddress​(java.lang.String street, java.lang.String zipCode, java.lang.String city)
      This service method validates the given address
      Parameters:
      street - address field
      zipCode - address field
      city - address field
      Returns:
      true of the given address exists, otherwise false