test_class.file: src/de/slackspace/openkeepass/crypto/RandomGeneratorTest.java
test_class.identifier: RandomGeneratorTest
test_case.body: @Test
      public void shouldGeneratorOneRandomByte() {
          RandomGenerator randomGenerator = new RandomGenerator();
          byte[] randomBytes = randomGenerator.getRandomBytes(1);
          Assert.assertNotNull(randomBytes);
          Assert.assertEquals(randomBytes.length, 1);
      }
test_case.class_method_signature: RandomGeneratorTest.shouldGeneratorOneRandomByte()
test_case.full_signature: @Test public void shouldGeneratorOneRandomByte()
test_case.identifier: shouldGeneratorOneRandomByte
test_case.invocations: getRandomBytes assertNotNull assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldGeneratorOneRandomByte()
focal_class.declarator: random
focal_class.modifier: private
focal_class.original_string: private SecureRandom random;
focal_class.type: SecureRandom
focal_class.var_name: random
focal_class.file: src/de/slackspace/openkeepass/crypto/RandomGenerator.java
focal_class.identifier: RandomGenerator
focal_class.interfaces: implements ByteGenerator
focal_class.class_method_signature: RandomGenerator.RandomGenerator()
focal_class.full_signature: public  RandomGenerator()
focal_class.identifier: RandomGenerator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RandomGenerator()
focal_class.class_method_signature: RandomGenerator.getRandomBytes(int numBytes)
focal_class.full_signature: @Override public byte[] getRandomBytes(int numBytes)
focal_class.identifier: getRandomBytes
focal_class.modifiers: @Override public
focal_class.parameters: (int numBytes)
focal_class.return: byte[]
focal_class.signature: byte[] getRandomBytes(int numBytes)
focal_method.body: @Override
      public byte[] getRandomBytes(int numBytes) {
          byte[] randomBytes = new byte[numBytes];
          random.nextBytes(randomBytes);
  
          return randomBytes;
      }
focal_method.class_method_signature: RandomGenerator.getRandomBytes(int numBytes)
focal_method.full_signature: @Override public byte[] getRandomBytes(int numBytes)
focal_method.identifier: getRandomBytes
focal_method.invocations: nextBytes
focal_method.modifiers: @Override public
focal_method.parameters: (int numBytes)
focal_method.return: byte[]
focal_method.signature: byte[] getRandomBytes(int numBytes)