SpannedSubject.VoiceText


public interface SpannedSubject.VoiceText


Allows assertions about a span's voice its position.

Summary

Public methods

abstract SpannedSubject.AndSpanFlags

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

Public methods

withName

abstract SpannedSubject.AndSpanFlags withName(String name)

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

Parameters
String name

The expected name of the voice.

Returns
SpannedSubject.AndSpanFlags

A AndSpanFlags object for optional additional assertions on the flags.