* getIssuer() method testing.
* Tests if the method return null in the case of not specified criteria,
* if the returned value [does not]corresponds to [not]specified
*/
public void testGetIssuer() {
X500Principal iss1 = new X500Principal("O=First Org.");
X500Principal iss2 = new X500Principal("O=Second Org.");
X509CertSelector selector = new X509CertSelector();
assertNull("Selector should return null", selector.getIssuer());
selector.setIssuer(iss1);
assertEquals("The returned issuer should be equal to specified",
iss1, selector.getIssuer());
assertFalse("The returned issuer should differ",
iss2.equals(selector.getIssuer()));
}