Class Addresses

    • Constructor Detail

      • Addresses

        public Addresses​(MockNeat mockNeat)
    • Method Detail

      • addresses

        public static Addresses addresses()
      • supplier

        public java.util.function.Supplier<java.lang.String> supplier()

        Returns a MockUnitString that can be used to generate the address lines

        Specified by:
        supplier in interface MockUnit<java.lang.String>
        Returns:
        A new MockUnitString.
      • line1

        public MockUnitString line1()

        Returns a MockUnitString that can be used to generate the first address line with the format:

        number noun suffix (Ave, Avenue, Street, etc.)

        Returns:
        A new MockUnitString.
      • line2

        public MockUnitString line2()

        Returns a MockUnitString that can be used to generate the second address line with the format:

        prefix (Line, Suite, Apartment) number

        Returns:
        A new MockUnitString.