Interface ResultOfObject.Builder<T>

Type Parameters:
T - the type of the object under test
All Superinterfaces:
Result.Builder<ResultOfObject<T>,ActualObject<T>,TestOfObject<T>,ExpectedObject<T>,ResultOfObject.Builder<T>>
All Known Implementing Classes:
BasicResultOfObject.Builder
Enclosing interface:
ResultOfObject<T>

public static interface ResultOfObject.Builder<T> extends Result.Builder<ResultOfObject<T>,ActualObject<T>,TestOfObject<T>,ExpectedObject<T>,ResultOfObject.Builder<T>>
return null;

A builder for results of objects.

  • Method Details

    • object

      default ResultOfObject.Builder<T> object(T actual, boolean successful)

      Sets the actual object and if the actual object fulfils the expected object.

      Parameters:
      actual - the actual object
      Returns:
      this builder