Skip to content

Instantly share code, notes, and snippets.

@richard1122
Created January 29, 2019 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richard1122/0e4e5fe0ab89b8245341070bb15283af to your computer and use it in GitHub Desktop.
Save richard1122/0e4e5fe0ab89b8245341070bb15283af to your computer and use it in GitHub Desktop.
custom intellij postfix template
.assertJ : AssertJ
ANY → org.assertj.core.api.Assertions.assertThat($expr$)
.isEqualTo: AssertJ And isEqualTo
ANY → org.assertj.core.api.Assertions.assertThat($expr$).isEqualTo($END$)
.isZero: AssertJ And isZero
ANY → org.assertj.core.api.Assertions.assertThat($expr$).isZero()
.isCloseTo: AssertJ And isCloseTo
ANY → org.assertj.core.api.Assertions.assertThat($expr$).isCloseTo($value#1$, Percentage.withPercentage(.1))$END$
.isTrue: AssertJ And isTrue
ANY → org.assertj.core.api.Assertions.assertThat($expr$).isTrue()
.isFalse: AssertJ And isFalse
ANY → org.assertj.core.api.Assertions.assertThat($expr$).isFalse()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment