BAEL-1070 - CharSequence vs String in Java (Fixed Test Method) (#2499)

* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!
This commit is contained in:
ahmetcetin39 2017-08-25 12:42:34 +03:00 committed by Grzegorz Piwowarek
parent 9b563d87f0
commit c31fc8d662

View File

@ -31,7 +31,7 @@ public class CharSequenceVsStringUnitTest {
test += "b";
int secondAddressOfTest = System.identityHashCode(test);
assertEquals(firstAddressOfTest, secondAddressOfTest);
assertNotEquals(firstAddressOfTest, secondAddressOfTest);
}
@Test