Assert.assertEquals((Object expected, Object actual)

Asserts that two objects are equal. If they are not, an AssertionError without a message is thrown. 

你可能感兴趣的:(Test)