Class ShortProvider

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

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

    • ShortProvider

      public ShortProvider()
  • Method Details

    • createValue

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