Package de.calamanari.pk.servicestub

  • Class Summary
    Class Description
    Account
    Account - supplementary class
    AccountManager
    Account Manager - a component to be tested
    An instance can only be tested with a valid AddressValidator reference injected.
    AddressValidatorServiceMock
    Address Validator Service Mock - SERVICE STUB (aka Mock) for AddressValidator Service
    This is a very simple mock, always returning a predefined result, more sophisticated mocks create matching results for different input sets.
    ServiceStubTest
    Service Stub test - demonstrates SERVICE STUB (aka MOCK) pattern.
  • Exception Summary
    Exception Description
    AccountValidationException
    Account Validation Exception - supplementary class in this example