test_class.file: services/src/test/java/com/greensopinion/finance/services/web/model/CategoryModelTest.java
test_class.identifier: CategoryModelTest
test_case.body: @Test
  	public void compareTo() {
  		CategoryModel m1 = new CategoryModel("a");
  		CategoryModel m2 = new CategoryModel("B");
  		CategoryModel m3 = new CategoryModel("c");
  		assertOrder(m1, m2, m3);
  		assertEquals(0, m1.compareTo(m1));
  		assertCompareOrder(m1, m2);
  		assertCompareOrder(m2, m3);
  	}
test_case.class_method_signature: CategoryModelTest.compareTo()
test_case.full_signature: @Test public void compareTo()
test_case.identifier: compareTo
test_case.invocations: assertOrder assertEquals compareTo assertCompareOrder assertCompareOrder
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void compareTo()
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.file: services/src/main/java/com/greensopinion/finance/services/web/model/CategoryModel.java
focal_class.identifier: CategoryModel
focal_class.interfaces: implements Comparable<CategoryModel>
focal_class.class_method_signature: CategoryModel.CategoryModel(String name)
focal_class.full_signature: public  CategoryModel(String name)
focal_class.identifier: CategoryModel
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.signature:  CategoryModel(String name)
focal_class.class_method_signature: CategoryModel.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: CategoryModel.compareTo(CategoryModel o)
focal_class.full_signature: @Override public int compareTo(CategoryModel o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (CategoryModel o)
focal_class.return: int
focal_class.signature: int compareTo(CategoryModel o)
focal_method.body: @Override
  	public int compareTo(CategoryModel o) {
  		if (o == this) {
  			return 0;
  		}
  		return name.compareToIgnoreCase(o.name);
  	}
focal_method.class_method_signature: CategoryModel.compareTo(CategoryModel o)
focal_method.full_signature: @Override public int compareTo(CategoryModel o)
focal_method.identifier: compareTo
focal_method.invocations: compareToIgnoreCase
focal_method.modifiers: @Override public
focal_method.parameters: (CategoryModel o)
focal_method.return: int
focal_method.signature: int compareTo(CategoryModel o)