Ejemplo n.º 1
0
 @Test
 public void equals() throws Exception {
   templateId.equals(new Object());
   templateId.equals(templateId);
   templateId.hashCode();
 }
Ejemplo n.º 2
0
 @Test
 public void isCertified() throws Exception {
   assertTrue(templateId.isCertified());
 }
Ejemplo n.º 3
0
 @Test
 public void getMd5() throws Exception {
   assertNotNull(templateId.getMd5());
 }
Ejemplo n.º 4
0
 @Test
 public void getOwnerFprint() throws Exception {
   assertNotNull(templateId.getOwnerFprint());
 }
Ejemplo n.º 5
0
  @Before
  public void setUp() throws Exception {
    templateId = new TemplateId("FCCF494471A9E89AB05C6BCED48E74E18333EBA3", "md5");

    templateId.setCertified(true);
  }