public static interface Subject.Factory<SubjectT extends Subject<SubjectT,ActualT>,ActualT>
about
, the method that specifies what kind of
Subject
to create.
For more information about the fluent chain, see this FAQ entry.
When you write a custom subject, see our
doc on extensions. It explains where Subject.Factory
fits into the process.
Modifier and Type | Method and Description |
---|---|
SubjectT |
createSubject(FailureMetadata metadata,
ActualT actual)
Creates a new
Subject . |
SubjectT createSubject(FailureMetadata metadata, ActualT actual)
Subject
.Copyright © 2018. All rights reserved.