getBehaviorDrivenDescription method
Gets the most appropriate BDD string based on the values set on the step.
Implementation
@override
String getBehaviorDrivenDescription(TestController tester) {
var result = behaviorDrivenDescriptions[0];
result = result.replaceAll('{{collectionPath}}', collectionPath);
result = result.replaceAll('{{documentId}}', documentId);
result = result.replaceAll(
'{{equals}}',
equals == true ? 'equal' : 'not equal',
);
result = result.replaceAll('{{value}}', value ?? 'null');
return result;
}