All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.junit.tests.TestDescriptionTest Maven / Gradle / Ivy

Go to download

JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.

There is a newer version: 4.13.2
Show newest version
package org.junit.tests;

import static org.junit.Assert.assertFalse;
import org.junit.Test;
import org.junit.runner.Description;

public class TestDescriptionTest {
	@Test public void equalsIsFalseForNonTestDescription() {
		assertFalse(Description.createTestDescription(getClass(), "a").equals(new Integer(5)));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy