SpannedSubject.VoiceText


interface SpannedSubject.VoiceText


Allows assertions about a span's voice its position.

Summary

Public functions

SpannedSubject.AndSpanFlags!
withName(name: String!)

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

Public functions

withName

fun withName(name: String!): SpannedSubject.AndSpanFlags!

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

Parameters
name: String!

The expected name of the voice.

Returns
SpannedSubject.AndSpanFlags!

A AndSpanFlags object for optional additional assertions on the flags.