org.hamcrest.DiagnosingMatcher.scala Maven / Gradle / Ivy
The newest version!
/*
* Ported from https://github.com/hamcrest/JavaHamcrest/
*/
package org.hamcrest
abstract class DiagnosingMatcher[T <: AnyRef] extends BaseMatcher[T] {
override final def matches(item: AnyRef): Boolean =
matches(item, Description.NONE)
override final def describeMismatch(
item: AnyRef,
mismatchDescription: Description
): Unit = {
matches(item, mismatchDescription)
}
protected def matches(item: AnyRef, mismatchDescription: Description): Boolean
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy