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

    templateId.setCertified(true);
  }