SpannedSubject.WithSpanFlags


public interface SpannedSubject.WithSpanFlags


Allows additional assertions to be made on the flags of matching spans.

Identical to AndSpanFlags, but this should be returned from has...() methods while AndSpanFlags should be returned from with...() methods.

Summary

Public methods

abstract void
withFlags(int flags)

Checks that one of the matched spans has the expected flags.

Public methods

withFlags

abstract void withFlags(int flags)

Checks that one of the matched spans has the expected flags.

Parameters
int flags

The expected flags. See SPAN_* constants on Spanned for possible values.