SpannedSubject.Aligned


public interface SpannedSubject.Aligned


Allows assertions about the alignment of a span.

Summary

Public methods

abstract SpannedSubject.AndSpanFlags

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

Public methods

withAlignment

abstract SpannedSubject.AndSpanFlags withAlignment(Layout.Alignment alignment)

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

Parameters
Layout.Alignment alignment

The expected alignment.

Returns
SpannedSubject.AndSpanFlags

A WithSpanFlags object for optional additional assertions on the flags.