io.burkard.cdk.assertions.MatchFailure.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.assertions
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object MatchFailure {
def apply(
matcher: software.amazon.awscdk.assertions.Matcher,
message: String,
path: List[String]
): software.amazon.awscdk.assertions.MatchFailure =
(new software.amazon.awscdk.assertions.MatchFailure.Builder)
.matcher(matcher)
.message(message)
.path(path.asJava)
.build()
}