SpannedSubject.RelativeSized


public interface SpannedSubject.RelativeSized


Allows assertions about the relative size of a span.

Summary

Public methods

abstract SpannedSubject.AndSpanFlags
withSizeChange(float sizeChange)

Checks that at least one of the matched spans has the expected sizeChange.

Public methods

withSizeChange

abstract SpannedSubject.AndSpanFlags withSizeChange(float sizeChange)

Checks that at least one of the matched spans has the expected sizeChange.

Parameters
float sizeChange

The expected size change.

Returns
SpannedSubject.AndSpanFlags

A WithSpanFlags object for optional additional assertions on the flags.