ExpectInternal
Sole purpose of this interface is to hide AssertionContainer from newcomers which usually don't have to deal with this.
Moreover, we separate Expect from AssertionContainer so that we can provide extension functions for AssertionContainer which are more or less identical to the ones defined for api-fluent but don't return Expect but Assertion etc.
See https://github.com/robstoll/atrium-roadmap/wiki/Requirements#personas for more information about the personas.
Inheritors
Functions
Link copied to clipboard
Appends the Assertions the given assertionCreator creates to this container and returns an Expect which includes them.
Link copied to clipboard
open fun createAndAppend(description: Translatable, expected: Any?, test: (T) -> Boolean): Expect<T>
Creates a DescriptiveAssertion based on the given description, expected and test and appends it to the container.