public void testGetMaxCRL(){
  X509CRLSelector selector=new X509CRLSelector();
  assertNull("Initially the maxCRL should be null.",selector.getMaxCRL());
  BigInteger maxCRL=new BigInteger("10000");
  selector.setMaxCRLNumber(maxCRL);
  assertTrue("The result should be equal to specified.",maxCRL.equals(selector.getMaxCRL()));
}

public void testGetMaxCRL ( ) { X509CRLSelector selector = new X509CRLSelector ( ) ; assertNull ( "Initially the maxCRL should be null." , selector . getMaxCRL ( ) ) ; BigInteger maxCRL = new BigInteger ( "10000" ) ; selector . setMaxCRLNumber ( maxCRL ) ; assertTrue ( "The result should be equal to specified." , maxCRL . equals ( selector . getMaxCRL ( ) ) ) ; }
getmaxcrl ( ) method testing . tests if the method return null in the case of not specified maxcrl criteria , and if the returned value corresponds to the specified one .
