The first param can be omit, it will be displayed if the test is failed. assertEqual(message,target, value);