public abstract class CustomSubjectBuilder extends Object
thatmethods, which accept a value under test and return a
(Note that the "custom"
that methods are not defined on
itself, only on its subtypes, which are the types users actually interact with.)
For more information about the methods in this class, see this FAQ entry.
When you write a custom subject, see our doc on
extensions. It explains the cases in which
CustomSubjectBuilder is necessary.
|Modifier and Type||Class and Description|
|Modifier||Constructor and Description|
Constructor for use by subclasses.
Copyright © 2019. All rights reserved.