@Test
public void createNumericRandomElement() {

  BuilderFactoryNumeric dummy = new DummyArithmeticBuilderFactory(context);
  Numeric numeric = dummy.createNumeric(builder);
  numeric.randomBit();
  Assert.assertNotNull(result);
  Assert.assertEquals(
      result.evaluate(0, mock(DummyArithmeticResourcePool.class), mock(Network.class)),
      EvaluationStatus.IS_DONE);
  Assert.assertTrue(rolledBit.intValue() >= 0);
  Assert.assertTrue(rolledBit.intValue() < 2);
  Assert.assertTrue(result.out().toString().contains("Mock for FieldElement"));
}