Interface Context
- All Known Implementing Classes:
BasicContext
public interface Context
A type representing the context of a test.
A context consists of its subject (for example, class, an attribute or an method) and a collection of properties.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContext.Builder<BT extends Context.Builder<BT>>A builder for contexts. -
Method Summary
Modifier and TypeMethodDescriptionReturns all properties of this context.subject()Returns the subject of this context.
-
Method Details
-
properties
Collection<Property> properties()Returns all properties of this context.- Returns:
- all properties of this context
-
subject
Object subject()Returns the subject of this context.- Returns:
- the subject of this context
-