@Test public void testCompareString() throws Exception { String one = "TEST STRING ONE"; String two = "TEST STRING TWO"; Assert.assertTrue(Compare.value(one, one)); Assert.assertTrue(Compare.value(two, two)); Assert.assertFalse(Compare.value(one, two)); }
public static boolean value(String one, String two) { return one.equals(two); }
Compare { public static boolean value(String one, String two) { return one.equals(two); } }
Compare { public static boolean value(String one, String two) { return one.equals(two); }  }
Compare { public static boolean value(String one, String two) { return one.equals(two); }  static boolean value(String one, String two); static boolean value(double one, double two); static boolean value(double one, double two, double tolerance); }
Compare { public static boolean value(String one, String two) { return one.equals(two); }  static boolean value(String one, String two); static boolean value(double one, double two); static boolean value(double one, double two, double tolerance);  }