Class LongProvider

java.lang.Object
org.soliscode.test.provider.LongProvider
All Implemented Interfaces:
IntegerNumberProvider<Long>, NumberProvider<Long>, ObjectProvider<Long>

public class LongProvider extends Object implements IntegerNumberProvider<Long>
Provides instances of an Long for the purposes of testing.
Since:
1.0
Author:
evanbergstrom
See Also:
  • Constructor Details

    • LongProvider

      public LongProvider()
  • Method Details

    • createValue

      @NotNull public @NotNull Long createValue(int value)
      Creates an instance of the Long class with a numeric value equal to the primitive long value.
      Specified by:
      createValue in interface IntegerNumberProvider<Long>
      Parameters:
      value - the primitive long value.
      Returns:
      an instance of the Long class.