getBehaviorDrivenDescription method

  1. @override
String getBehaviorDrivenDescription(
  1. TestController tester
)

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(
    '{{height}}',
    height,
  );

  result = result.replaceAll(
    '{{width}}',
    width,
  );

  return result;
}