Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The preferred assertion library for Geode is AssertJ (see About Unit Testing), which offers a wide range of flexible assertions. The import statement needed to use AssertJ asserts is

import static org.assertj.core.api.Assertions.assertThat;

Here are some examples that may be useful when writing tests:

...