Class Genders

    • Constructor Detail

      • Genders

        public Genders()
      • Genders

        public Genders​(MockNeat mockNeat)
    • Method Detail

      • genders

        public static Genders genders()
      • supplier

        public java.util.function.Supplier<java.lang.String> supplier()
        Description copied from interface: MockUnit
        This is the sole abstract method of the interface. Needs to be implemented every-time a MockUnit is implemented.
        Specified by:
        supplier in interface MockUnit<java.lang.String>
        Returns:
        A Supplier<T>.
      • letter

        public MockUnitString letter()

        Returns a new MockUnitString that is used to return "M" or "F".

        Returns:
        A new MockUnitString.