question: public void testGetDateAndTime ( ) { X509CRLSelector selector = new X509CRLSelector ( ) ; assertNull ( "Initially the dateAndTime criteria should be null." , selector . getDateAndTime ( ) ) ; Date date = new Date ( 200 ) ; selector . setDateAndTime ( date ) ; assertTrue ( "The result should be equal to specified." , date . equals ( selector . getDateAndTime ( ) ) ) ; }
target:  getDateAndTime() method testing. Tests if the method return null in the case of not specified dateAndTime criteria, and if the returned value corresponds to the specified one.