Package uk.ac.osswatch.simal.model

Examples of uk.ac.osswatch.simal.model.MockDoapResource


  private static final DoapResourceByNameComparator comp = new DoapResourceByNameComparator();

  @Test
  public void testIDoapResourcesByName() {
   
    MockDoapResource emptyName = new MockDoapResource();
    MockDoapResource t1 = new MockDoapResource();
    MockDoapResource t2 = new MockDoapResource();
    t1.setName("aaa");
    t2.setName("zzz");
   
    assertEquals(0, comp.compare(null, null));
    assertEquals(0, comp.compare(t1, t1));
    assertEquals(0, comp.compare(t2, t2));
    assertEquals(0, comp.compare(emptyName, emptyName));
View Full Code Here

TOP

Related Classes of uk.ac.osswatch.simal.model.MockDoapResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.