Fix 'always true' assertion

Use org.junit.Assert's assertNotEquals(String, Object, Object)
to check if two MD5 are different.

junit.framework.TestCase's assertNotSame(String, Object, Object)
compares arguments by reference and for String arguments, in most cases,
returns true even if both arguments are equal by value.

As we need a negative assertion (two MD5 are not equal),
junit.framework.TestCase doesn't fit the bill - it does provide
assertEquals() but not assertNotEquals().

Change-Id: I1ce6123d9102de963c92da88bea5e713ecdf44e6
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
4 files changed