Skip to content

Instantly share code, notes, and snippets.

@rmcdouga
Created February 18, 2021 16:59
Show Gist options
  • Save rmcdouga/aa11357e5fff5b071338f66b69dccd76 to your computer and use it in GitHub Desktop.
Save rmcdouga/aa11357e5fff5b071338f66b69dccd76 to your computer and use it in GitHub Desktop.
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
@rmcdouga
Copy link
Author

	<dependency>
		<groupId>org.hamcrest</groupId>
		<artifactId>hamcrest-library</artifactId>
		<version>2.2</version>
		<scope>test</scope>
	</dependency>

@rmcdouga
Copy link
Author

I can never remember the details of the Hamcrest includes (and the documentation doesn't give them), so I'm recording them here for my future reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment