Test Result : HeaderBasedPlaceholderSubstitutionAlgorithmTest

0 failures (±0)
11 tests (±0)
Took 73 ms.

All Tests

Test nameDurationStatus
assertImmutability2 msPassed
inputContainsNestedLegacyPlaceholderThrowsException0 msPassed
partialPlaceholdersRemain0 msPassed
substituteFailsWithNullHeaders31 msPassed
substituteFailsWithNullInput5 msPassed
substituteFailsWithNullWithDittoHeaders0 msPassed
substituteReturnsInputWhenInputDoesNotContainReplacers5 msPassed
substituteReturnsReplacedWhenInputContainsLegacyPlaceholder0 msPassed
substituteReturnsReplacedWhenInputContainsPlaceholder1 msPassed
substituteThrowsUnknownPlaceholderExceptionWhenInputContainsUnknownPlaceholder28 msPassed
unknownLegacyPlaceholderThrowsException1 msPassed