package org.bukkit.support;
import org.hamcrest.Matcher;
/**
* Custom assertThat methods, where the reason is put at the end of the method call.
* To better match with JUnit 5 argument order and also help with readability for longer reasons.
*
*
* assertThat(String.format(""" * The block data created for the material %s is not an instance of the data class from that material. * """, material), blockData, is(instanceOf(expectedClass))); ** vs. *
* assertThat(blockData, is(instanceOf(expectedClass)), String.format(""" * The block data created for the material %s is not an instance of the data class from that material. * """, material)); **/ public final class MatcherAssert { private MatcherAssert() {} public static