Package mocka.generator.array
Class ByteArrayGenerator
java.lang.Object
mocka.generator.AbstractGenerator<byte[]>
mocka.generator.array.ByteArrayGenerator
- All Implemented Interfaces:
Generator<byte[]>
-
Field Summary
Fields inherited from class mocka.generator.AbstractGenerator
key, randomProvider, type -
Method Summary
Modifier and TypeMethodDescriptionbyte[]get()Returns a random byte array with a default length of 10byte[]get(int length) Returns a random byte array with the specified lengthByte[]getByte()Returns a random Byte array with a default length of 10Byte[]getByte(int length) Returns a random Byte array with the specified lengthstatic ByteArrayGeneratorMethods inherited from class mocka.generator.AbstractGenerator
getKey, getType
-
Method Details
-
getInstance
-
get
public byte[] get()Returns a random byte array with a default length of 10 -
get
public byte[] get(int length) Returns a random byte array with the specified length -
getByte
Returns a random Byte array with a default length of 10 -
getByte
Returns a random Byte array with the specified length
-