public final class FailureMetadata extends Object
Subject
constructors (and Subject.Factory
methods), which should pass it to the superclass constructor and not otherwise
use or store it. In particular, users should not attempt to call Subject
constructors or
Subject.Factory
methods directly. Instead, they should use the appropriate factory
method:
Truth.assertAbout(Subject.Factory)
.that(...)
check().about(...).that(...)
ExpectFailure
(One exception: Implementations of CustomSubjectBuilder
do directly call constructors,
using their CustomSubjectBuilder.metadata
method to get an instance to pass to the
constructor.)
Copyright © 2018. All rights reserved.