org.assertj.core.api.AbstractMapAssert Java Examples
The following examples show how to use
org.assertj.core.api.AbstractMapAssert.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractCalculationTest.java From ehcache3 with Apache License 2.0 | 2 votes |
/** * A little wrapper over {@code assertThat} that just mention that this what we expect from the test. So if the * expectation fails, it's probably the test that is wrong, not the implementation. * * @param actual actual value * @return an AssertJ assertion */ protected static <K, V> AbstractMapAssert<?, ? extends Map<K, V>, K, V> expect(Map<K, V> actual) { return assertThat(actual); }